Skip to content

Commit 86b1177

Browse files
authored
Merge pull request OpenVoxProject#36 from bastelfreak/reload
systemd unit: Readd reload command
2 parents 0ac2798 + 68aa781 commit 86b1177

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

resources/puppetlabs/lein-ezbake/template/global/ext/debian/ezbake.service.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ KillMode=process
6666
<% EZBake::Config[:debian][:post_start_action].each do |action| -%>
6767
ExecStartPost=-<%= action %>
6868
<% end -%>
69+
ExecReload=kill -HUP $MAINPID
6970
SuccessExitStatus=143
7071

7172
[Install]

resources/puppetlabs/lein-ezbake/template/global/ext/redhat/ezbake.service.erb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,7 @@ KillMode=process
6666
<% EZBake::Config[:redhat][:post_start_action].each do |action| -%>
6767
ExecStartPost=-<%= action %>
6868
<% end -%>
69+
ExecReload=kill -HUP $MAINPID
6970
SuccessExitStatus=143
7071

7172
[Install]

0 commit comments

Comments
 (0)