fix absolute path error in systemd unit.
authorAndy Witter <awitter@georgialibraries.org>
Mon, 26 Nov 2018 13:24:21 +0000 (08:24 -0500)
committerAndy Witter <awitter@georgialibraries.org>
Mon, 26 Nov 2018 13:24:21 +0000 (08:24 -0500)
templates/debs/opensrf_3.0.2_amd64.deb
templates/systemd/opensrf.service

index 756fee5..63e73b4 100644 (file)
Binary files a/templates/debs/opensrf_3.0.2_amd64.deb and b/templates/debs/opensrf_3.0.2_amd64.deb differ
index f3e9dd0..025f853 100644 (file)
@@ -14,8 +14,8 @@ Environment=PATH=/openils/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:
 #ExecStartPre=/bin/sleep 5
 ExecStart=/openils/bin/osrf_control --start-all
 #ExecStartPost=/bin/sleep 5
-ExecStartPost=sudo /bin/systemctl -q restart apache2.service
-ExecStartPost=sudo /bin/systemctl -q restart apache2-ws.service
+ExecStartPost=/usr/bin/sudo /bin/systemctl -q restart apache2.service
+ExecStartPost=/usr/binsudo /bin/systemctl -q restart apache2-ws.service
 ExecStop=/openils/bin/osrf_control --stop-all
 
 [Install]