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 22:22:01 +01:00
parent 4872baaf79
commit d282681e92
No known key found for this signature in database
GPG key ID: 574F281483054D44
2 changed files with 1 additions and 3 deletions

View file

@ -10,8 +10,6 @@ WorkingDirectory=__FINALPATH__
Environment=PATH=__ENV_PATH__ Environment=PATH=__ENV_PATH__
Environment=NODE_ENV=production Environment=NODE_ENV=production
ExecStart=__YNH_NODE__ tiddlywiki mynewwiki --listen port=__PORT__ username=__ADMIN__ password=__PASSWORD__ ExecStart=__YNH_NODE__ tiddlywiki mynewwiki --listen port=__PORT__ username=__ADMIN__ password=__PASSWORD__
StandardOutput=append:/var/log/__APP__/__APP__.log
StandardError=inherit
Restart=always Restart=always
[Install] [Install]

View file

@ -139,7 +139,7 @@ yunohost service add $app --description="A non-linear personal web notebook" --l
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=1 ynh_script_progression --message="Starting a systemd service..." --weight=1
ynh_systemd_action --service_name=$app --action=restart --log_path="/var/log/$app/$app.log" --line_match="Serving on" ynh_systemd_action --service_name=$app --action=restart --log_path="systemd" #--line_match="Serving on"
#================================================= #=================================================
# RELOAD NGINX # RELOAD NGINX