tt-rss: restart on failure

as should be the default with all long-running services
This commit is contained in:
Symphorien Gibol 2020-05-08 12:00:00 +00:00
parent c7db8c1927
commit e96c52efdb

View File

@ -634,6 +634,8 @@ let
ExecStart = "${pkgs.php}/bin/php ${cfg.root}/update.php --daemon --quiet";
StandardOutput = "syslog";
StandardError = "syslog";
Restart = "on-failure";
RestartSec = "60";
};
wantedBy = [ "multi-user.target" ];