From d70073274b0ce59ccc9d49cbce52bea4a7e33b4b Mon Sep 17 00:00:00 2001 From: Storm Dragon Date: Mon, 9 Dec 2024 19:38:39 -0500 Subject: [PATCH] Updated auto start example service files for systemd and runit. --- autostart/runit/fenrir/run | 2 +- autostart/systemd/Arch/fenrir.service | 7 ++----- autostart/systemd/Debian/fenrir.service | 2 +- 3 files changed, 4 insertions(+), 7 deletions(-) diff --git a/autostart/runit/fenrir/run b/autostart/runit/fenrir/run index 29405164..4fbf6c16 100644 --- a/autostart/runit/fenrir/run +++ b/autostart/runit/fenrir/run @@ -1,3 +1,3 @@ #!/bin/sh [ -r ./conf ] && . ./conf -exec fenrir +exec fenrir -f diff --git a/autostart/systemd/Arch/fenrir.service b/autostart/systemd/Arch/fenrir.service index eeeebd07..dc037148 100644 --- a/autostart/systemd/Arch/fenrir.service +++ b/autostart/systemd/Arch/fenrir.service @@ -1,18 +1,15 @@ [Unit] Description=Fenrir screenreader Wants=systemd-udev-settle.service -After=systemd-udev-settle.service sound.target +After=systemd-udev-settle.service getty.target [Service] Type=forking PIDFile=/var/run/fenrir.pid -ExecStart=/usr/bin/fenrir-daemon +ExecStart=/usr/bin/fenrir ExecReload=/usr/bin/kill -HUP $MAINPID Restart=always #Group=fenrirscreenreader #User=fenrirscreenreader [Install] -# start as early as possible in boot process -#WantedBy=sound.target -# start as soon the login prompt is available WantedBy=getty.target diff --git a/autostart/systemd/Debian/fenrir.service b/autostart/systemd/Debian/fenrir.service index 1a5636e9..ff278223 100644 --- a/autostart/systemd/Debian/fenrir.service +++ b/autostart/systemd/Debian/fenrir.service @@ -5,7 +5,7 @@ After=systemd-udev-settle.service sound.target [Service] Type=forking PIDFile=/var/run/fenrir.pid -ExecStart=/usr/local/bin/fenrir-daemon +ExecStart=/usr/local/bin/fenrir ExecReload=/usr/bin/kill -HUP $MAINPID Restart=always #Group=fenrirscreenreader