From 514a53f006be7903aabd9be4d580a467f6564de8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Volkan=20=C5=9Eahin?= Date: Mon, 18 Apr 2016 15:45:13 +0300 Subject: [PATCH] systemctl parameters fixed --- lib/systemd/system/ahenk.service | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/systemd/system/ahenk.service b/lib/systemd/system/ahenk.service index a0e563f..2ab5547 100644 --- a/lib/systemd/system/ahenk.service +++ b/lib/systemd/system/ahenk.service @@ -3,9 +3,9 @@ Description=Starts Ahenk at system startup After=network.target [Service] -Type=forking -ExecStart=python3 "/opt/ahenk/ahenkd.py start" -ExecStop=python3 "/opt/ahenk/ahenkd.py stop" +Type=simple +ExecStart=/usr/bin/python3 /opt/ahenk/ahenkd.py start +ExecStop=/usr/bin/python3 /opt/ahenk/ahenkd.py stop PIDFile=/var/run/ahenkd.pid [Install]