Fix broken RequireFileExists systemd directive

This commit is contained in:
Jason Rhinelander 2019-10-29 15:09:03 -03:00
parent 7e99ca3036
commit dee7aaa4a3
2 changed files with 2 additions and 2 deletions

View File

@ -7,7 +7,7 @@ After=network-online.target
User=_lokinet
SyslogIdentifier=lokinet-client
WorkingDirectory=/var/lib/lokinet/client
RequireFileExists=/var/lib/lokinet/bootstrap.signed
AssertFileNotEmpty=/var/lib/lokinet/bootstrap.signed
ExecStart=/usr/bin/lokinet /var/lib/lokinet/client/lokinet.ini
ExecStartPost=+/usr/sbin/lokinet-resolvconf add /var/lib/lokinet/client/lokinet.ini
ExecStopPost=+/usr/sbin/lokinet-resolvconf remove /var/lib/lokinet/client/lokinet.ini

View File

@ -7,7 +7,7 @@ After=network-online.target
User=_lokinet
SyslogIdentifier=lokinet-router
WorkingDirectory=/var/lib/lokinet/router
RequireFileExists=/var/lib/lokinet/bootstrap.signed
AssertFileNotEmpty=/var/lib/lokinet/bootstrap.signed
ExecStart=/usr/bin/lokinet /var/lib/lokinet/router/lokinet.ini
Restart=always
RestartSec=5s