systemd: add file vpncloud.target

Add file vpncloud.target, which allows you to stop or restart all
instances.
pull/182/head
Martin Hauke 2021-04-04 22:02:39 +02:00
parent b745735af8
commit 151ca445c3
2 changed files with 3 additions and 0 deletions

2
assets/vpncloud.target Normal file
View File

@ -0,0 +1,2 @@
[Unit]
Description=VpnCloud target allowing to start/stop all vpncloud@.service instances at once

View File

@ -2,6 +2,7 @@
Description=VpnCloud network '%I'
After=network-online.target
Wants=network-online.target
PartOf=vpncloud.target
Documentation=man:vpncloud(1)
[Service]