1
0
Fork 0
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:
tituspijean 2021-09-09 18:30:07 +02:00
parent 0f1f1232b1
commit e8e5d577fa
2 changed files with 2 additions and 0 deletions

View file

@ -155,6 +155,7 @@ systemctl enable --quiet wireguard_ui_conf.path
# Create a dedicated systemd config for restarting WireGuard when its configuration changes # 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 ynh_add_systemd_config --service=wireguard_ui_conf --template=wireguard_ui_conf.service
systemctl enable --quiet wireguard_ui_conf.service
#================================================= #=================================================
# GENERIC FINALIZATION # GENERIC FINALIZATION

View file

@ -181,6 +181,7 @@ systemctl enable --quiet wireguard_ui_conf.path
# Create a dedicated systemd config for restarting WireGuard when its configuration changes # 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 ynh_add_systemd_config --service=wireguard_ui_conf --template=wireguard_ui_conf.service
systemctl enable --quiet wireguard_ui_conf.service
#================================================= #=================================================
# CONFIGURING WIREGUARD # CONFIGURING WIREGUARD