Skip to content
Snippets Groups Projects
Commit 16e94037 authored by Stéphane Veyret's avatar Stéphane Veyret
Browse files

Add duniter system user for service

parent a485b37d
No related branches found
No related tags found
1 merge request!1224Add startup scripts
......@@ -34,6 +34,10 @@ if [[ -d $DUN_SOURCES/node ]]; then
cd $DUN_SOURCES
cd node/bin/
ln -s ../lib/node_modules/npm/bin/npm-cli.js ./npm -f
# Add duniter user for service
mkdir -p /var/lib/duniter
adduser --system --quiet --home /var/lib/duniter --no-create-home --disabled-password --group duniter
chown duniter:duniter /var/lib/duniter
fi
# Else will execute with environment node
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment