lokinet/debian/lokinet-router.lokinet-testnet-router.service
Jason Rhinelander 6581ea7b67 Fix bootstrap file assertion in service files
They belong in the [Unit] section, not the [Service] section.
2019-12-28 13:12:32 -04:00

18 lines
473 B
Desktop File

[Unit]
Description=LokiNET: Anonymous Network layer thingydoo, router (testnet)
Wants=network-online.target
After=network-online.target
AssertFileNotEmpty=/var/lib/lokinet/testnet/bootstrap.signed
[Service]
User=_lokinet
SyslogIdentifier=lokinet-router
WorkingDirectory=/var/lib/lokinet/testnet-router
ExecStart=/usr/bin/lokinet /var/lib/lokinet/testnet-router/lokinet.ini
Environment=LOKINET_NETID=gamma
Restart=always
RestartSec=5s
[Install]
WantedBy=multi-user.target