1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/tiddlywiki_ynh.git synced 2024-09-03 20:26:34 +02:00

Update install

This commit is contained in:
ericgaspar 2021-03-09 23:30:02 +01:00
parent 11a51bf6fa
commit 18c38dca22
No known key found for this signature in database
GPG key ID: 574F281483054D44

View file

@ -97,7 +97,8 @@ ynh_system_user_create --username=$app --home_dir=$final_path
ynh_script_progression --message="Configuring TiddlyWiki..." --weight=2
pushd $final_path
$nodejs_path/node $final_path/tiddlywiki mynewwiki --init server
ynh_use_nodejs
ynh_exec_as $app env $ynh_node_load_PATH tiddlywiki mynewwiki --init server
popd
#=================================================
@ -105,8 +106,7 @@ popd
#=================================================
ynh_script_progression --message="Configuring a systemd service..." --weight=1
ynh_replace_string --match_string="__NODEJS_PATH__" --replace_string="$nodejs_path" --target_file="../conf/systemd.service"
ynh_add_systemd_config
ynh_add_systemd_config --others_var="ynh_node_load_PATH"
#=================================================
# GENERIC FINALIZATION