2023-05-09 11:25:30 +00:00
|
|
|
[Unit]
|
|
|
|
Description=zerotier-one
|
|
|
|
Wants=network-pre.target
|
|
|
|
After=network-pre.target
|
|
|
|
|
|
|
|
[Service]
|
2023-05-11 13:43:08 +00:00
|
|
|
ExecStart=/usr/sbin/zerotier-one /storage/.config/zerotier/
|
2023-05-12 12:24:41 +00:00
|
|
|
ExecStartPost=/usr/sbin/zerotier-join.sh
|
2023-05-09 11:25:30 +00:00
|
|
|
Restart=always
|
|
|
|
KillMode=process
|
|
|
|
Restart=on-failure
|
2023-05-12 12:24:41 +00:00
|
|
|
RestartSec=5
|
2023-05-09 11:25:30 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|