From 5fda1b3573a171de7dc53a1d77cbc340b999d2c6 Mon Sep 17 00:00:00 2001 From: chrys87 Date: Fri, 16 Sep 2016 11:46:17 +0200 Subject: [PATCH] Improve service file for systemd --- autostart/systemd/fenrir.service | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/autostart/systemd/fenrir.service b/autostart/systemd/fenrir.service index eed9e8d7..2c832151 100644 --- a/autostart/systemd/fenrir.service +++ b/autostart/systemd/fenrir.service @@ -2,8 +2,12 @@ Description=Fenrir screenreader [Service] -ExecStart=/usr/bin/fenrir Type=forking +PIDFile=/var/run/fenrir.pid +ExecStart=/usr/bin/fenrir +Restart=on-abort +#Group=fenrir +#User=fenrir [Install] -WantedBy=default.target +WantedBy=multi-user.target