8c5d854a36
It seems that as long as the Kodi menu is used to call a shutdown or reboot, the services will allow the application to gracefully exit including saving settings, uptime etc. This will only NOT occur if the user calls the box to shutdown or reboot via a call to systemctl for the reasons cited in previous commits. While not optimal, it is consistent with the same thing happening if others users are logged into the box, working, and a sysadmin calls the systemctl to reboot. The result is users will lose work/data. Going back to the user.slice is better for USB mounts, and for pulseaudio sessions as well.
22 lines
544 B
Plaintext
22 lines
544 B
Plaintext
# override these settings by copying this to /etc/sysusers.d/ and modifying it therein
|
|
|
|
# Type Name ID GECOS Home directory Shell
|
|
g kodi - -
|
|
u kodi - "Kodi User" /var/lib/kodi
|
|
|
|
# supplemental groups
|
|
m kodi audio
|
|
m kodi optical
|
|
m kodi video
|
|
|
|
# other groups, see: /usr/lib/sysusers.d/arch.conf or basic.conf
|
|
# m kodi network
|
|
# m kodi power
|
|
# m kodi tty
|
|
# m kodi disk
|
|
# m kodi storage
|
|
|
|
# uncomment the following line for Ubunutu users needing access to /etc/ttyxxxx
|
|
# https://github.com/graysky2/kodi-standalone-service/issues/14
|
|
# m kodi dialout
|