From e66fbc6b02d14122e766176ef7e8121df6b86424 Mon Sep 17 00:00:00 2001 From: jticket1024 Date: Wed, 19 Oct 2016 08:47:47 -0800 Subject: [PATCH] Updated fenrir.service to play a little bit nicer with restarts and reloads, and updated setup.py as python-espeak is no longer found in pipi. --- autostart/systemd/fenrir.service | 6 ++++-- setup.py | 1 - 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/autostart/systemd/fenrir.service b/autostart/systemd/fenrir.service index f79dd40c..449e3155 100644 --- a/autostart/systemd/fenrir.service +++ b/autostart/systemd/fenrir.service @@ -1,11 +1,13 @@ [Unit] Description=Fenrir screenreader - +Wants=systemd-udev-settle.service +After=systemd-udev-settle.service sound.target [Service] Type=forking PIDFile=/var/run/fenrir.pid ExecStart=/usr/bin/fenrir -Restart=on-abort +ExecReload=/usr/bin/kill -HUP $MAINPID +Restart=always #Group=fenrir #User=fenrir diff --git a/setup.py b/setup.py index 86638581..258af8d3 100755 --- a/setup.py +++ b/setup.py @@ -42,7 +42,6 @@ setup( install_requires=[ "evdev", "sox", - "python-espeak" ], )