lxc: service user is root

This commit is contained in:
Koushik Dutta
2024-09-12 13:28:42 -07:00
parent 8bc1fe1588
commit 2f97b39cbb

View File

@@ -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."