nixos lircd: fix deletion of lircd socket

This commit is contained in:
Christian Kögler 2018-09-21 23:46:30 +02:00
parent 4a68689bb4
commit 1ce496bfab

View File

@ -65,6 +65,10 @@ in {
serviceConfig = {
RuntimeDirectory = "lirc";
# socket lives in runtime directory; we have to keep is available
RuntimeDirectoryPreserve = true;
ExecStart = ''
${pkgs.lirc}/bin/lircd --nodaemon \
${escapeShellArgs cfg.extraArguments} \