Commit 780457f8 authored by Johannes Schilling's avatar Johannes Schilling
Browse files

reset device before starting service so correct permissions are applied

parent 9a506ff0
......@@ -7,6 +7,11 @@ Type=forking
EnvironmentFile=/etc/cip-foxtemp.conf
ExecStart=/usr/sbin/cip-foxtemp-hostsoftware daemon ${SERIAL}:16842:%T
User=foxtemp
PermissionsStartOnly=true
# reset once before starting, because on reboot udev starts before reading our
# permission rule file, but on reset the device re-appears, so the right
# permissions are set. this should make the service reboot-safe
ExecStartPre=/usr/sbin/cip-foxtemp-hostsoftware reset
[Install]
WantedBy=multi-user.target
cip-foxtemp (11) stretch; urgency=medium
* reset device before starting service so correct permissions are applied
-- Johannes Schilling <johannes.schilling@cs.fau.de> Wed, 22 Nov 2017 22:29:34 +0100
cip-foxtemp (10) unstable; urgency=medium
* don't rebuild scripts packages for every arch
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment