modprobe tun before startup

This commit is contained in:
Jeff Becker 2021-10-25 14:53:49 -04:00 committed by Jeff Becker
parent 7a7347b10d
commit 9957f7bf1b
No known key found for this signature in database
GPG Key ID: 025C02EE3A092F2D

View File

@ -15,6 +15,7 @@ SyslogIdentifier=lokinet
WorkingDirectory=/var/lib/lokinet
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_ADMIN CAP_NET_BIND_SERVICE
ExecStartPre=+/usr/bin/modprobe tun
ExecStart=/usr/bin/lokinet /var/lib/lokinet/lokinet.ini
Restart=always
RestartSec=5s