Skip to content

Commit

Permalink
linux: SERVICE_USER_ROOT flag
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Dec 26, 2023
1 parent 6c2db07 commit e48812c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install/local/install-scrypted-dependencies-linux.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ function readyn() {
done
}

if [ "$SERVICE_USER" == "root" ]
if [ "$SERVICE_USER" == "root" ] && [ -z "$SERVICE_USER_ROOT"]
then
readyn "Scrypted will store its files in the root user home directory. Running as a non-root user is recommended. Are you sure?"
if [ "$yn" == "n" ]
Expand Down

0 comments on commit e48812c

Please sign in to comment.