mirror of
https://github.com/YunoHost-Apps/gitea_ynh.git
synced 2024-09-03 20:36:22 +02:00
Fix ynh_systemd_action in upgrade process
This commit is contained in:
parent
b67fafcf08
commit
21b3f33146
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ fi
|
|||
restart_gitea() {
|
||||
# Set permissions
|
||||
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
|
||||
sleep 5
|
||||
systemctl stop $app
|
||||
|
|
Loading…
Add table
Reference in a new issue