1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/nodebb_ynh.git synced 2024-09-03 19:46:29 +02:00

Update install

This commit is contained in:
frju365 2017-04-20 00:19:26 +02:00 committed by GitHub
parent 0e84f9a9ac
commit 5dd337a42f

View file

@ -189,6 +189,7 @@ sudo yunohost service add $app --log "/var/log/$app/nodebb.log"
#=================================================
# START ETHERPAD IN BACKGROUND
#=================================================
sudo sed -i "s@__PATH__@$final_path@g" ../conf/nodebb.service
id -g "$app" &>/dev/null || sudo addgroup "$app" --system --quiet
id -u "$app" &>/dev/null || sudo adduser "$app" \
--ingroup "$app" --system --quiet --shell /bin/bash