retroarch-standalone-service/init
graysky 34515c3338 Consistent behavior on a systemctl stop vs reboot
If I call systemctl to shutdown or reboot, the effect is that it does
not honor kodi-x11.service's ExecStop= line which results in an
unclean exit of kodi and of data loss since kodi writes out some data
when it exits.  By contrast, calling systemctl to stop the service
works as expected.

It seems systemd treats processes in user.slice differently that those
in system.slice and that removing PAMName=login was to blame for kodi's
processes running in user.slice.

Discussion:
https://lists.freedesktop.org/archives/systemd-devel/2020-December/045713.html
https://bbs.archlinux.org/viewtopic.php?id=261684
2020-12-16 13:32:25 -05:00
..
kodi-gbm.service Consistent behavior on a systemctl stop vs reboot 2020-12-16 13:32:25 -05:00
kodi-wayland.service Consistent behavior on a systemctl stop vs reboot 2020-12-16 13:32:25 -05:00
kodi-x11.service Consistent behavior on a systemctl stop vs reboot 2020-12-16 13:32:25 -05:00
sysusers.conf Consistent behavior on a systemctl stop vs reboot 2020-12-16 13:32:25 -05:00
tmpfiles.conf better ExecStop to cleanly exit fixes #23 and #24 2020-10-24 14:52:18 -04:00