mirror of
https://github.com/Ysurac/openmptcprouter-vps.git
synced 2025-02-12 11:21:56 +00:00
13 lines
330 B
SYSTEMD
13 lines
330 B
SYSTEMD
[Unit]
|
|
Description=Glorytun TCP on %I
|
|
After=network.target network-online.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
ExecStart=/usr/local/bin/glorytun-tcp-run /etc/glorytun-tcp/%i
|
|
ExecStartPost=-/etc/glorytun-tcp/post.sh /etc/glorytun-tcp/%i
|
|
CapabilityBoundingSet=CAP_NET_ADMIN CAP_NET_RAW
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|