source --log option via env
Some checks are pending
continuous-integration/drone/push Build is failing
Some checks are pending
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
8ea6d6e78d
commit
5976ddecdf
@ -31,7 +31,7 @@ pub struct Opts {
|
||||
#[structopt(short = "I", long = "ignore-socket-err", env = "WG_IGNORE_SOCKET_ERR")]
|
||||
pub ignore_socket_errors: bool,
|
||||
|
||||
#[structopt(short = "l", long = "log")]
|
||||
#[structopt(short = "l", long = "log", env = "WG_LOG_EVENTS")]
|
||||
pub log: bool,
|
||||
|
||||
#[structopt(name = "SOCKET", parse(from_os_str), env = "WG_EVENT_SOCKET")]
|
||||
|
@ -21,6 +21,8 @@ ExecStartPre=-/bin/mknod /dev/net/tun c 10 200
|
||||
#Environment=WG_HOST_INTERFACE=eth0
|
||||
#Environment=WG_ADDRESS=10.200.200.1/24
|
||||
|
||||
#Environment=WG_LOG_EVENTS=1
|
||||
|
||||
Environment=ROOT_DIR=/srv/wireguard
|
||||
|
||||
Environment=WG_CAPS="CAP_CHOWN,CAP_DAC_OVERRIDE,CAP_FSETID,CAP_FOWNER,CAP_MKNOD,CAP_NET_RAW,CAP_SETGID,CAP_SETUID,CAP_SETFCAP,CAP_SETPCAP,CAP_NET_BIND_SERVICE,CAP_SYS_CHROOT,CAP_KILL,CAP_AUDIT_WRITE,CAP_NET_ADMIN,CAP_SYS_ADMIN"
|
||||
|
Loading…
x
Reference in New Issue
Block a user