mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-27 20:56:55 +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
|
else
|
||||||
# disable = false: setup
|
# disable = false: setup
|
||||||
systemctl enable "/storage/.kodi/addons/$1/system.d/$1.service"
|
systemctl enable "/storage/.kodi/addons/$1/system.d/$1.service"
|
||||||
|
chmod +x "/storage/.kodi/addons/$1/bin"/*
|
||||||
systemctl start "$1.service"
|
systemctl start "$1.service"
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user