2021-03-29 17:22:14 +00:00
|
|
|
[Unit]
|
|
|
|
Description=innernet server for %I
|
|
|
|
After=network-online.target nss-lookup.target
|
|
|
|
Wants=network-online.target nss-lookup.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=simple
|
|
|
|
Environment="RUST_LOG=info"
|
|
|
|
ExecStart=/usr/bin/innernet-server serve %i
|
|
|
|
Restart=always
|
2022-01-11 19:58:28 +00:00
|
|
|
# When the daemon exits, wait this amount of secs before restarting instead of default 100ms.
|
|
|
|
RestartSec=1
|
2021-03-29 17:22:14 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|