debian - fix rights

This commit is contained in:
Alexander Baryshnikov 2020-09-11 20:19:33 +08:00
parent b1b2618d48
commit 31f76cd5b3
1 changed files with 1 additions and 1 deletions

View File

@ -7,6 +7,6 @@ if ! id -u ${RUNNING_USER}; then
echo "Creating user ${RUNNING_USER}..."
useradd -M -c "${RUNNING_USER} dummy user" -r -s /bin/nologin ${RUNNING_USER}
fi
chown -R nano-run:nano-run /var/nano-run/
systemctl enable "${SERVICE}".service || echo "failed to enable service"
systemctl start "${SERVICE}".service || echo "failed to start service"