mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-20 21:33:16 -07:00
add synology handling to AUTOSTART
This commit is contained in:
parent
cb33e7b67f
commit
6f40555c9a
1 changed files with 2 additions and 0 deletions
|
@ -520,6 +520,8 @@ if [ "${AUTOSTART}" = "yes" ]; then
|
|||
service plexmediaserver start
|
||||
elif [ -x /etc/init.d/plexmediaserver ]; then
|
||||
/etc/init.d/plexmediaserver start
|
||||
elif [ "${DISTRO}" = "synology" ]; then
|
||||
synopkg start "Plex Media Server"
|
||||
else
|
||||
error "AUTOSTART was specified but no startup scripts were found for 'plexmediaserver'."
|
||||
exit 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue