mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-24 11:16:51 +00:00
systemd-addon-wrapper: make binary addons executable before starting service
This commit is contained in:
parent
e2b6fefc94
commit
c05ce15210
@ -30,6 +30,7 @@ if [ -f "/storage/.kodi/addons/$1/system.d/$1.service" ] ; then
|
||||
else
|
||||
# disable = false: setup
|
||||
systemctl enable "/storage/.kodi/addons/$1/system.d/$1.service"
|
||||
chmod +x "/storage/.kodi/addons/$1/bin"/*
|
||||
systemctl start "$1.service"
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user