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
|
@ -19,6 +19,12 @@
|
||||||
target = "shairport-sync.conf";
|
target = "shairport-sync.conf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
systemd.services.shairport-sync = {
|
||||||
|
serviceConfig = {
|
||||||
|
Restart = "on-failure";
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
users.users.nqptp = {
|
users.users.nqptp = {
|
||||||
isSystemUser = true;
|
isSystemUser = true;
|
||||||
group = "nqptp";
|
group = "nqptp";
|
||||||
|
|
Loading…
Reference in a new issue