Commit 16e94037 authored by Stéphane Veyret's avatar Stéphane Veyret
Browse files

Add duniter system user for service

parent a485b37d
......@@ -34,6 +34,10 @@ if [[ -d $DUN_SOURCES/node ]]; then
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
# Else will execute with environment node
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment