OSDN Git Service

New service: 3proxy.
[avyssos/void-66-services.git] / usr / share / 66 / service / wireguard@
1 # The service takes the confing file as @I, which becomes the device name.
2 [main]
3 @type = oneshot
4 @version = 0.0.1
5 @description = "Start Wireguard interface"
6 @user = ( root )
7 @options = ( log )
8
9 [start]
10 @execute = ( wg-quick up @I )
11     
12 [stop]
13 @execute = ( wg-quick down @I )