Commit ab1af205 authored by Johannes Schilling's avatar Johannes Schilling
Browse files

try to correctly fix bootup permission problem

parent 780457f8
# VOTI shared USB ID, foxtemp benutzt die
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", ATTR{idProduct}=="05dc", MODE:="0660", OWNER := "foxtemp", GROUP:="icipguru"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="16c0", ATTR{idProduct}=="05dc", ATTR{product}=="ds1820tousb", MODE:="0660", OWNER:="foxtemp", GROUP:="root"
......@@ -7,11 +7,6 @@ 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 (12) stretch; urgency=medium
* try to correctly fix bootup permission problem
-- Johannes Schilling <johannes.schilling@cs.fau.de> Thu, 23 Nov 2017 00:47:36 +0100
cip-foxtemp (11) stretch; urgency=medium
* reset device before starting service so correct permissions are applied
......
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