refactor(service): use systemd-journald instead of systemd-udevd

* The latter is not available on the stripped down pre-salted images
  (for Debian and Ubuntu)
This commit is contained in:
Imran Iqbal 2020-03-23 12:16:35 +00:00
parent 241646fe96
commit a2651058be
No known key found for this signature in database
GPG key ID: 6D8629439D2B7819
2 changed files with 2 additions and 2 deletions

View file

@ -14,7 +14,7 @@ TEMPLATE:
pkg:
name: bash
service:
name: systemd-udevd
name: systemd-journald
config: /etc/template-formula.conf
tofs:

View file

@ -1,7 +1,7 @@
# frozen_string_literal: true
# Overide by OS
service_name = 'systemd-udevd'
service_name = 'systemd-journald'
service_name = 'crond' if (os[:name] == 'centos') && os[:release].start_with?('6')
control 'TEMPLATE service' do