tt-rss: restart on failure
as should be the default with all long-running services
This commit is contained in:
parent
c7db8c1927
commit
e96c52efdb
|
@ -634,6 +634,8 @@ let
|
||||||
ExecStart = "${pkgs.php}/bin/php ${cfg.root}/update.php --daemon --quiet";
|
ExecStart = "${pkgs.php}/bin/php ${cfg.root}/update.php --daemon --quiet";
|
||||||
StandardOutput = "syslog";
|
StandardOutput = "syslog";
|
||||||
StandardError = "syslog";
|
StandardError = "syslog";
|
||||||
|
Restart = "on-failure";
|
||||||
|
RestartSec = "60";
|
||||||
};
|
};
|
||||||
|
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
|
|
Loading…
Reference in New Issue