mirror of
https://github.com/pivpn/pivpn.git
synced 2025-05-16 04:44:10 +02:00
Added Alpine Linux support (#1567)
This commit is contained in:
parent
718d3df573
commit
edb36c08f7
22 changed files with 852 additions and 459 deletions
23
files/etc/init.d/wg-quick
Executable file
23
files/etc/init.d/wg-quick
Executable file
|
@ -0,0 +1,23 @@
|
|||
#!/sbin/openrc-run
|
||||
|
||||
#################################################################################
|
||||
# Filename: files/etc/init.d/wg-quick #
|
||||
# Purpose: OpenRC service that starts WireGuard #
|
||||
# Authors: Giulio Coa <34110430+giulioc008@users.noreply.github.com> #
|
||||
# License: This file is licensed under the MIT. #
|
||||
#################################################################################
|
||||
|
||||
description="WireGuard - Quick version"
|
||||
|
||||
depend() {
|
||||
need localmount
|
||||
need net
|
||||
}
|
||||
|
||||
start() {
|
||||
wg-quick up wg0
|
||||
}
|
||||
|
||||
stop() {
|
||||
wg-quick down wg0
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue