mirror of
https://github.com/YunoHost-Apps/sogo_ynh.git
synced 2024-09-03 20:26:07 +02:00
oops
This commit is contained in:
parent
474cdde334
commit
b082c4079c
2 changed files with 1 additions and 3 deletions
|
@ -56,8 +56,6 @@ chmod -R 750 "/var/log/$app"
|
|||
#=================================================
|
||||
ynh_script_progression --message="Starting a systemd service..." --weight=1
|
||||
|
||||
ynh_exec_warn nginx -t
|
||||
|
||||
ynh_systemd_action --service_name="$app" --action="restart" --log_path="systemd"
|
||||
ynh_systemd_action --service_name="stunnel4" --action="restart" --log_path="systemd"
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ ynh_restore_file --origin_path="/etc/$app"
|
|||
chown -R "$app:$app" "/etc/$app"
|
||||
chmod -R 750 "/etc/$app"
|
||||
|
||||
ynh_backup --src_path="/etc/stunnel/$app.conf"
|
||||
ynh_restore_file --origin_path="/etc/stunnel/$app.conf"
|
||||
|
||||
ynh_restore_file --origin_path="/etc/cron.d/$app"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue