1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/discourse_ynh.git synced 2024-09-03 18:26:18 +02:00

Restore the systemd script

This commit is contained in:
Maniack Crudelis 2020-04-29 14:13:52 +02:00
parent 7740c4e505
commit e2381bfde5

View file

@ -124,6 +124,7 @@ ynh_psql_execute_file_as_root --file="./db.sql" --database="$db_name"
#================================================= #=================================================
ynh_print_info --message="Restoring the systemd configuration..." ynh_print_info --message="Restoring the systemd configuration..."
ynh_restore_file --origin_path="/etc/systemd/system/$app.service"
systemctl daemon-reload systemctl daemon-reload
systemctl enable $app.service systemctl enable $app.service