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:
parent
0e84f9a9ac
commit
5dd337a42f
1 changed files with 1 additions and 0 deletions
|
@ -189,6 +189,7 @@ sudo yunohost service add $app --log "/var/log/$app/nodebb.log"
|
||||||
#=================================================
|
#=================================================
|
||||||
# START ETHERPAD IN BACKGROUND
|
# 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 -g "$app" &>/dev/null || sudo addgroup "$app" --system --quiet
|
||||||
id -u "$app" &>/dev/null || sudo adduser "$app" \
|
id -u "$app" &>/dev/null || sudo adduser "$app" \
|
||||||
--ingroup "$app" --system --quiet --shell /bin/bash
|
--ingroup "$app" --system --quiet --shell /bin/bash
|
||||||
|
|
Loading…
Add table
Reference in a new issue