1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00
This commit is contained in:
ericgaspar 2021-03-27 14:54:36 +01:00
parent 8532a9386f
commit 34025d7e9d
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 5 additions and 2 deletions

View file

@ -9,8 +9,10 @@ Group=__APP__
WorkingDirectory=__FINALPATH__
Environment='NODE_ENV=production'
Environment="__YNH_NODE_LOAD_PATH__"
ExecStart=__YNH_NODE_LOAD_PATH__ __FINALPATH__ __FINALPATH__/mynewwiki --server --listen #port=__PORT__ authenticated-user-header=basic
ExecStart=__YNH_NODE_LOAD_PATH__ __FINALPATH__ mynewwiki --listen port=__PORT__ #authenticated-user-header=basic
Restart=always
[Install]
WantedBy=multi-user.target

View file

@ -98,7 +98,8 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
pushd $final_path
ynh_use_nodejs
$ynh_node_load_PATH tiddlywiki mynewwiki --init server
ynh_npm install -g tiddlywiki
tiddlywiki mynewwiki --init server
popd
#=================================================