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:
June 2023-10-26 21:08:57 +02:00
parent b0995784fc
commit 616f65c6ca

View file

@ -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";