From 1920276f75615793f0a3c7c371a15dc0c1698f65 Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 25 Sep 2018 11:30:16 +0200 Subject: [PATCH] osmo-ctrl2cgi.service: Fix exec path not absolute systemd errors due to executabl path not being absolute: systemd[1]: [/lib/systemd/system/osmo-ctrl2cgi.service:7] Executable path is not absolute, ignoring: python3 /usr/bin/ctrl2cgi.py systemd[1]: osmo-ctrl2cgi.service: Service lacks both ExecStart= and ExecStop= setting. Refusing. Change-Id: I8e3d695951fb36d53c112b6dce10a275b757ca5a --- contrib/systemd/osmo-ctrl2cgi.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/systemd/osmo-ctrl2cgi.service b/contrib/systemd/osmo-ctrl2cgi.service index 36ff78b..8563c66 100644 --- a/contrib/systemd/osmo-ctrl2cgi.service +++ b/contrib/systemd/osmo-ctrl2cgi.service @@ -4,7 +4,7 @@ Description=Proxy between given GCI service and Osmocom CTRL protocol [Service] Type=simple Restart=always -ExecStart=python3 /usr/bin/ctrl2cgi.py -o -d -c /etc/osmocom/ctrl2cgi.ini +ExecStart=/usr/bin/ctrl2cgi.py -o -d -c /etc/osmocom/ctrl2cgi.ini RestartSec=2 [Install]