mirror of
https://github.com/mrworf/plexupdate.git
synced 2025-08-19 12:59:40 -07:00
Added comments
This commit is contained in:
parent
4dc13ae8d9
commit
6de8c36d72
1 changed files with 4 additions and 2 deletions
|
@ -321,10 +321,12 @@ if [ "${AUTOSTART}" == "yes" ]; then
|
||||||
elif [ "${REDHAT}" == "no" ]; then
|
elif [ "${REDHAT}" == "no" ]; then
|
||||||
echo "The AUTOSTART [-s] option may not be needed on your distribution."
|
echo "The AUTOSTART [-s] option may not be needed on your distribution."
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
# Check for systemd
|
||||||
if [ -f "/bin/systemctl" ]; then
|
if [ -f "/bin/systemctl" ]; then
|
||||||
sudo systemctl start plexmediaserver.service
|
systemctl start plexmediaserver.service
|
||||||
else
|
else
|
||||||
sudo service plexmediaserver start
|
service plexmediaserver start
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue