aboutsummaryrefslogtreecommitdiff
path: root/configs/configs_root_dir/etc/systemd/system/phantun_server.service
blob: 67b24f9f039c4839337eea23178e7b81052cad45 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=phantun client
After=network.target

[Service]
Type=simple
Environment=RUST_LOG=info
ExecStart=/usr/bin/phantun_server --local 59083 --remote [::1]:54635 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
#ExecStart=/usr/bin/env RUST_LOG=info /usr/bin/phantun_server --local 59083 --remote [::1]:54635 --tun-local 10.0.2.1 --tun-peer 10.0.2.2 --tun-local6 fdc9:281f:04d7:9eeb::1 --tun-peer6 fdc9:281f:04d7:9eeb::2 --tun pt0
Restart=always

[Install]
WantedBy=multi-user.target