mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
kodi: adjust systemd-addon-wrapper for systemd-229
This commit is contained in:
@@ -25,8 +25,7 @@ if [ -f "/storage/.kodi/addons/$1/system.d/$1.service" ] ; then
|
||||
if [ "_$2" = "_1" ] ; then
|
||||
# disable = true: cleanup
|
||||
systemctl stop "$1.service"
|
||||
systemctl disable "/storage/.kodi/addons/$1/system.d/$1.service"
|
||||
rm -f "/storage/.config/system.d/$1.service" # just in case..
|
||||
systemctl disable "$1.service"
|
||||
else
|
||||
# disable = false: setup
|
||||
systemctl enable "/storage/.kodi/addons/$1/system.d/$1.service"
|
||||
|
||||
Reference in New Issue
Block a user