mirror of
https://github.com/jellyfin/jellyfin.git
synced 2026-01-15 16:33:25 -03:00
Make use of the $1 flag to set installed only
This commit is contained in:
@@ -127,7 +127,8 @@ if [ $1 -gt 1 ] ; then
|
||||
if [ "${service_state}" = "active" ]; then
|
||||
systemctl start jellyfin.service
|
||||
fi
|
||||
if [ "${service_state}" != "active" ]; then
|
||||
if [ $1 -eq 1 ]; then
|
||||
# On fresh install only, enable the jellyfin.service unit
|
||||
systemctl enable jellyfin.service
|
||||
fi
|
||||
fi
|
||||
|
||||
Reference in New Issue
Block a user