From 67cc6fe469da7c8c3d6dd4c0052261df91e33eab Mon Sep 17 00:00:00 2001 From: rkaldung Date: Fri, 22 Aug 2014 19:05:31 +0200 Subject: [PATCH] fixed typo, added pidfile --- script/systemd/zammad.service | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/script/systemd/zammad.service b/script/systemd/zammad.service index a3a7baac1..b928cd2a5 100644 --- a/script/systemd/zammad.service +++ b/script/systemd/zammad.service @@ -4,9 +4,10 @@ Description=Zammad Application [Service] Type=forking User=zammad -WorkingDirectory=/homer/zammad/zammad +WorkingDirectory=/home/zammad/zammad Environment=RAILS_ENV=production -ExecStart=puma -p 3000 -d -e production +PIDFile=/var/run/zammad.puma.pid +ExecStart=puma -p 3000 -d -e production --pidfile /var/run/zammad.puma.pid [Install] WantedBy=multi-user.target