Skip to content

Commit

Permalink
lxc: service user is root
Browse files Browse the repository at this point in the history
  • Loading branch information
koush committed Sep 12, 2024
1 parent 8bc1fe1 commit 2f97b39
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions install/docker/install-scrypted-docker-compose.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
#!/usr/bin/env bash

if [ "$SCRYPTED_LXC" ]
then
export SERVICE_USER="root"
fi

if [ -z "$SERVICE_USER" ]
then
echo "Scrypted SERVICE_USER environment variable was not specified. Service will not be installed."
Expand Down

0 comments on commit 2f97b39

Please sign in to comment.