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
ce85ee0451
commit
4298c965e9
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…
Add table
Reference in a new issue