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
63cc553e6d
commit
0961bd67fb
3 changed files with 4 additions and 3 deletions
|
@ -9,7 +9,7 @@ Group=__APP__
|
|||
WorkingDirectory=__FINALPATH__
|
||||
Environment=PATH=__ENV_PATH__
|
||||
Environment=NODE_ENV=production
|
||||
ExecStart=__YNH_NODE__ tiddlywiki ++languages/fr-FR mynewwiki --listen port=__PORT__ username=__ADMIN__ password=__PASSWORD__
|
||||
ExecStart=__YNH_NODE__ tiddlywiki ++languages/fr-FR wiki --listen port=__PORT__ username=__ADMIN__ password=__PASSWORD__
|
||||
Restart=always
|
||||
|
||||
[Install]
|
||||
|
|
|
@ -107,9 +107,11 @@ ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
|
|||
pushd $final_path
|
||||
ynh_use_nodejs
|
||||
npm install -g tiddlywiki
|
||||
env $ynh_node_load_PATH tiddlywiki mynewwiki --init server
|
||||
env $ynh_node_load_PATH tiddlywiki wiki --init server
|
||||
popd
|
||||
|
||||
#mkdir $final_path/wiki/tiddlers
|
||||
|
||||
#=================================================
|
||||
# SETUP SYSTEMD
|
||||
#=================================================
|
||||
|
|
|
@ -118,7 +118,6 @@ ynh_install_nodejs --nodejs_version=$nodejs_version
|
|||
ynh_script_progression --message="Upgrading systemd configuration..." --weight=1
|
||||
|
||||
ynh_replace_string --match_string="__ENV_PATH__" --replace_string="$PATH" --target_file=../conf/systemd.service
|
||||
ynh_replace_string --match_string="__YNH_NODE__" --replace_string="$ynh_node" --target_file=../conf/systemd.service
|
||||
|
||||
ynh_add_systemd_config
|
||||
|
||||
|
|
Loading…
Reference in a new issue