Skip to content

Commit fc2fce1

Browse files
committed
Switch Default for Restart-Command to systemctl
Almost all Linux-Distributions now default to Systemd. So switch the Default for Restart-Command to systemctl. - use /usr/bin/systemctl instead of /bin/systemctl, because with usr-Merge the former Dir is dead - keep Alpine on init.d
1 parent 1e9eddb commit fc2fce1

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

data/common.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,5 @@ postfix::params::aliasesseltype: ~
33
postfix::params::seltype: ~
44
postfix::params::mailx_package: 'mailx'
55
postfix::params::master_os_template: "postfix/master.cf.default.erb"
6-
postfix::params::restart_cmd: '/etc/init.d/postfix reload'
6+
postfix::params::restart_cmd: '/usr/bin/systemctl reload postfix'
77
...

data/os/Alpine.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
---
22
postfix::params::master_os_template: "postfix/master.cf.debian.erb"
3+
postfix::params::restart_cmd: '/etc/init.d/postfix reload'

data/osfamily/RedHat.yaml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
---
22
postfix::params::aliasesseltype: 'etc_aliases_t'
33
postfix::params::seltype: 'postfix_etc_t'
4-
postfix::params::restart_cmd: '/bin/systemctl reload postfix'
54
postfix::params::master_os_template: 'postfix/master.cf.redhat.erb'
65
postfix::mta_bin_path: '/usr/sbin/sendmail.postfix'
76
...

0 commit comments

Comments
 (0)