forked from CCCHH/nix-infra
Set Restart to on-failure for shairport-sync service
Do that, since it recently crashed for some reason and just restarting should probably work pretty well.
This commit is contained in:
parent
b0995784fc
commit
616f65c6ca
1 changed files with 6 additions and 0 deletions
|
@ -19,6 +19,12 @@
|
|||
target = "shairport-sync.conf";
|
||||
};
|
||||
|
||||
systemd.services.shairport-sync = {
|
||||
serviceConfig = {
|
||||
Restart = "on-failure";
|
||||
};
|
||||
};
|
||||
|
||||
users.users.nqptp = {
|
||||
isSystemUser = true;
|
||||
group = "nqptp";
|
||||
|
|
Loading…
Reference in a new issue