mirror of
https://github.com/YunoHost-Apps/tiddlywiki_ynh.git
synced 2024-09-03 20:26:34 +02:00
fix
This commit is contained in:
parent
c24e9bf6fc
commit
647a5c2955
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@ Type=simple
|
||||||
User=__APP__
|
User=__APP__
|
||||||
Group=__APP__
|
Group=__APP__
|
||||||
WorkingDirectory=__FINALPATH__
|
WorkingDirectory=__FINALPATH__
|
||||||
ExecStart=__NODEJS_PATH__/node __FINALPATH__/tiddlywiki monwiki --listen port=__PORT__ authenticated-user-header=basic
|
ExecStart=__NODEJS_PATH__/node __FINALPATH__/tiddlywiki mywiki --listen port=__PORT__ authenticated-user-header=basic
|
||||||
Restart=always
|
Restart=always
|
||||||
Environment=PATH=/usr/bin:/usr/local/bin:__NODEJS_PATH__
|
Environment=PATH=/usr/bin:/usr/local/bin:__NODEJS_PATH__
|
||||||
Environment=NODE_ENV=production
|
Environment=NODE_ENV=production
|
||||||
|
|
|
@ -98,7 +98,7 @@ ynh_system_user_create --username=$app --home_dir=$final_path
|
||||||
ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
|
ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
|
||||||
|
|
||||||
pushd $final_path
|
pushd $final_path
|
||||||
$nodejs_path/node $final_path/tiddlywiki monwiki --init server
|
$nodejs_path/node $final_path/tiddlywiki mywiki --init server
|
||||||
popd
|
popd
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
|
|
Loading…
Reference in a new issue