Skip to content

Commit 94d21e0

Browse files
committed
systemd: Switch to Type=notify
With the merge of OpenVoxProject/trapperkeeper#23, we can switch to notify. Then the service will notify systemd when the service is actually started.
1 parent 572eecb commit 94d21e0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

project.clj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
(defproject org.openvoxproject/lein-ezbake "2.7.2-SNAPSHOT"
1+
(defproject org.openvoxproject/lein-ezbake "2.8.0-SNAPSHOT"
22
:description "A system for building packages for trapperkeeper-based applications"
33
:url "https://github.com/openvoxproject/ezbake"
44
:license {:name "Apache License 2.0"

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Wants=<%= EZBake::Config[:start_after].map {|dep| "#{dep}.service" }.join(" ") %
1919
<% end -%>
2020

2121
[Service]
22-
Type=exec
22+
Type=notify-reload
2323
LogsDirectory=puppetlabs/<%= EZBake::Config[:real_name] %>
2424
RuntimeDirectory=puppetlabs/<%= EZBake::Config[:real_name] %>
2525
EnvironmentFile=/etc/default/<%= EZBake::Config[:project] %>

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ Wants=<%= EZBake::Config[:start_after].map {|dep| "#{dep}.service" }.join(" ") %
1919
<% end -%>
2020

2121
[Service]
22-
Type=exec
22+
Type=notify-reload
2323
LogsDirectory=puppetlabs/<%= EZBake::Config[:real_name] %>
2424
RuntimeDirectory=puppetlabs/<%= EZBake::Config[:real_name] %>
2525
EnvironmentFile=/etc/sysconfig/<%= EZBake::Config[:project] %>

0 commit comments

Comments
 (0)