mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
Enable services during restore
Co-authored-by: Alexandre Aubin <alex.aubin@mailoo.org>
This commit is contained in:
parent
a21d1c15c1
commit
0e9d3fe412
1 changed files with 2 additions and 0 deletions
|
@ -114,7 +114,9 @@ ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui.service
|
||||||
ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui_conf.path
|
ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui_conf.path
|
||||||
ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui_conf.service
|
ynh_restore_file --origin_path=/etc/systemd/system/wireguard_ui_conf.service
|
||||||
|
|
||||||
|
systemctl enable --quiet wireguard_ui.service
|
||||||
systemctl enable --quiet wireguard_ui_conf.path
|
systemctl enable --quiet wireguard_ui_conf.path
|
||||||
|
systemctl enable --quiet wireguard_ui_conf.service
|
||||||
|
|
||||||
#=================================================
|
#=================================================
|
||||||
# INTEGRATE SERVICE IN YUNOHOST
|
# INTEGRATE SERVICE IN YUNOHOST
|
||||||
|
|
Loading…
Add table
Reference in a new issue