mirror of
https://github.com/YunoHost-Apps/wireguard_ynh.git
synced 2024-09-03 20:35:58 +02:00
Have WireGuard start on boot
This commit is contained in:
parent
0f1f1232b1
commit
e8e5d577fa
2 changed files with 2 additions and 0 deletions
|
@ -155,6 +155,7 @@ systemctl enable --quiet wireguard_ui_conf.path
|
|||
|
||||
# Create a dedicated systemd config for restarting WireGuard when its configuration changes
|
||||
ynh_add_systemd_config --service=wireguard_ui_conf --template=wireguard_ui_conf.service
|
||||
systemctl enable --quiet wireguard_ui_conf.service
|
||||
|
||||
#=================================================
|
||||
# GENERIC FINALIZATION
|
||||
|
|
|
@ -181,6 +181,7 @@ systemctl enable --quiet wireguard_ui_conf.path
|
|||
|
||||
# Create a dedicated systemd config for restarting WireGuard when its configuration changes
|
||||
ynh_add_systemd_config --service=wireguard_ui_conf --template=wireguard_ui_conf.service
|
||||
systemctl enable --quiet wireguard_ui_conf.service
|
||||
|
||||
#=================================================
|
||||
# CONFIGURING WIREGUARD
|
||||
|
|
Loading…
Reference in a new issue