mirror of
https://github.com/YunoHost-Apps/nodebb_ynh.git
synced 2024-09-03 19:46:29 +02:00
Fix
This commit is contained in:
parent
98588d9a37
commit
f4ef8064c1
2 changed files with 11 additions and 6 deletions
|
@ -6,11 +6,16 @@ After=system.slice multi-user.target mongod.service
|
|||
[Service]
|
||||
Type=forking
|
||||
User=__APP__
|
||||
Group=__APP__
|
||||
|
||||
StandardOutput=syslog
|
||||
StandardError=syslog
|
||||
SyslogIdentifier=nodebb
|
||||
|
||||
Environment=NODE_ENV=production
|
||||
WorkingDirectory=__FINALPATH__
|
||||
Environment="NODE_ENV=production"
|
||||
PIDFile=__FINALPATH__/pidfile
|
||||
Environment="__YNH_NODE_LOAD_PATH__"
|
||||
ExecStart=__FINALPATH__/loader.js --no-daemon --no-silent
|
||||
ExecStart=__FINALPATH__/loader.js
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -143,11 +143,11 @@ chown -R $app:$app $final_path
|
|||
|
||||
pushd $final_path
|
||||
#ynh_exec_as $app env $ynh_node_load_PATH
|
||||
./nodebb setup -l > $install_log
|
||||
./nodebb setup #-l > $install_log
|
||||
#ynh_exec_as $app env $ynh_node_load_PATH
|
||||
npm install nodebb-plugin-dbsearch --save-prod
|
||||
#npm install nodebb-plugin-dbsearch --save-prod
|
||||
#ynh_exec_as $app env $ynh_node_load_PATH
|
||||
./nodebb build -l
|
||||
#./nodebb build -l
|
||||
#exec_as $app ./nodebb setup -l > $install_log
|
||||
#exec_as $app npm install nodebb-plugin-dbsearch --save-prod
|
||||
#exec_as $app ./nodebb build -l
|
||||
|
|
Loading…
Add table
Reference in a new issue