openvpn-mgt/debian/openvpn-mgt.service

18 lines
321 B
SYSTEMD

[Unit]
Description=openvpn-mgt
After=network.target
[Service]
User=openvpn
Group=openvpn
EnvironmentFile=/etc/default/openvpn-mgt
StandardOutput=null
StandardError=journal
LimitNOFILE=65536
ExecStart=/usr/bin/openvpn-mgt -config ${CONFIGURATION} ${OPTS}
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target