From: Andy Witter Date: Mon, 26 Nov 2018 13:24:21 +0000 (-0500) Subject: fix absolute path error in systemd unit. X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=4e08fd2d36193dd3e890a1ab1377d61ded10ddc0;p=contrib%2Fpines%2Fgenasys.git fix absolute path error in systemd unit. --- diff --git a/templates/debs/opensrf_3.0.2_amd64.deb b/templates/debs/opensrf_3.0.2_amd64.deb index 756fee5..63e73b4 100644 Binary files a/templates/debs/opensrf_3.0.2_amd64.deb and b/templates/debs/opensrf_3.0.2_amd64.deb differ diff --git a/templates/systemd/opensrf.service b/templates/systemd/opensrf.service index f3e9dd0..025f853 100644 --- a/templates/systemd/opensrf.service +++ b/templates/systemd/opensrf.service @@ -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]