nixos lircd: fix deletion of lircd socket
This commit is contained in:
parent
4a68689bb4
commit
1ce496bfab
1 changed files with 4 additions and 0 deletions
|
@ -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} \
|
||||
|
|
Loading…
Reference in a new issue