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 19:07:18 +01:00
parent 787783a264
commit 107554912a
No known key found for this signature in database
GPG key ID: 574F281483054D44
5 changed files with 4 additions and 20 deletions

View file

@ -24,7 +24,4 @@ Notification=none
;;; Upgrade options ;;; Upgrade options
; commit=CommitHash ; commit=CommitHash
name=Name and date of the commit. name=Name and date of the commit.
manifest_arg=domain=DOMAIN&path=PATH&admin=USER&language=fr&is_public=1&password=pass&port=666& manifest_arg=domain=DOMAIN&path=PATH&admin=USER&is_public=1&password=pass&port=666&

View file

@ -17,16 +17,3 @@ nodejs_version=14
#================================================= #=================================================
# FUTURE OFFICIAL HELPERS # FUTURE OFFICIAL HELPERS
#================================================= #=================================================
# Execute a command as another user
# usage: ynh_exec_as USER COMMAND [ARG ...]
ynh_exec_as() {
local USER=$1
shift 1
if [[ $USER = $(whoami) ]]; then
eval "$@"
else
sudo -u "$USER" "$@"
fi
}

View file

@ -138,7 +138,7 @@ yunohost service add $app --description="A non-linear personal web notebook" --l
#================================================= #=================================================
ynh_script_progression --message="Starting a systemd service..." --weight=2 ynh_script_progression --message="Starting a systemd service..." --weight=2
ynh_systemd_action --service_name=$app --action=start --log_path=systemd #--line_match="Serving on" ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving on"
#================================================= #=================================================
# SETUP SSOWAT # SETUP SSOWAT

View file

@ -101,7 +101,7 @@ yunohost service add $app --description="A non-linear personal web notebook" --l
#================================================= #=================================================
ynh_print_info --message="Starting a systemd service..." ynh_print_info --message="Starting a systemd service..."
ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Started TiddlyWiki: interactive wiki." ynh_systemd_action --service_name=$app --action=start --log_path=systemd --line_match="Serving on"
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

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