mirror of
https://framagit.org/YunoHost-Apps/gitea_ynh.git
synced 2024-11-21 18:41:35 +01:00
Fix ynh_systemd_action in upgrade process
This commit is contained in:
parent
b67fafcf08
commit
21b3f33146
@ -121,7 +121,7 @@ fi
|
|||||||
restart_gitea() {
|
restart_gitea() {
|
||||||
# Set permissions
|
# Set permissions
|
||||||
set_permission
|
set_permission
|
||||||
ynh_systemd_action -l "Serving \[::\]:$port with pid" -p "systemd"
|
ynh_systemd_action -l "Starting new server: tcp:127.0.0.1:" -p "/var/log/$app/gitea.log" -t 30
|
||||||
# Leave the time to update the database schema
|
# Leave the time to update the database schema
|
||||||
sleep 5
|
sleep 5
|
||||||
systemctl stop $app
|
systemctl stop $app
|
||||||
|
Loading…
Reference in New Issue
Block a user