Commit Graph

8 Commits

Author SHA1 Message Date
graysky
29b2b65590 restore call to kodi-standalone, fixes #26
Calling the kodi-xxx target in ExecStart= was not actually the key to
fixing the shutdown bugs in 847b6ec65. Adding the ExecStop= calling
killall to the exact target was needed.

This commit restores the call to kodi-standalone to allow the
"RestartApp" built in to work again and adds the key ExecStop= with
killall.
2020-11-08 08:30:46 -05:00
graysky
847b6ec656 better ExecStop to cleanly exit fixes #23 and #24
Direct call to kodi-xxx in ExecStart= allows direction of kill signal to that
rather than to kodi-standalone wrapper.  This allows the kill signal to hit
the indented executable.  As well, using killall in the ExecStop= allows for
synchronous stopping and for kodi to do shutdown housekeeping tasks such as
saving settings, stopping services (web, zeroconf, etc.) and unloading things.
2020-10-24 14:52:18 -04:00
graysky
3fcd54aad5 fix unclean exit and stop spamming journalctl 2020-09-23 07:30:32 -04:00
graysky
2c5da1a438 support passing environment vars to service 2020-09-14 15:34:44 -04:00
graysky
d419c4d772 use alias to dm.service rather than target fixes #19
Also see: https://bbs.archlinux.org/viewtopic.php?pid=1131267
2020-07-13 13:54:54 -04:00
graysky
74abcce02a output of services to journal for cleaner boot 2020-02-02 14:43:09 -05:00
nl6720
92036950d8 Improve systemd units
Use the same dependencies and their order in both systemd units.
Add additional units of services that kodi uses.
Don't use "Requires=", kodi can run without a network connection.
Export WINDOWING=x11 in kodi.service to skip the autodetection that /usr/bin/kodi-standalone performs.
Give kodi-gbm.service the privileges of input group, this allows removing the kodi user from that group's membership since kodi.service does not need it.
2019-12-04 07:57:36 -05:00
nl6720
5da11a4fe3 Add kodi-gbm.service
This allows running Kodi directly off DRM/KMS without X server.
2019-04-29 08:35:00 +03:00