nixos/hologram-agent: /var/run -> /run

This commit is contained in:
Bob van der Linden 2018-12-19 22:41:49 +01:00
parent 798931135e
commit 60481ba3fd
No known key found for this signature in database
GPG Key ID: 2A90361F99CF1795

View File

@ -45,7 +45,7 @@ in {
wantedBy = [ "multi-user.target" ]; wantedBy = [ "multi-user.target" ];
requires = [ "network-link-dummy0.service" "network-addresses-dummy0.service" ]; requires = [ "network-link-dummy0.service" "network-addresses-dummy0.service" ];
preStart = '' preStart = ''
/run/current-system/sw/bin/rm -fv /var/run/hologram.sock /run/current-system/sw/bin/rm -fv /run/hologram.sock
''; '';
serviceConfig = { serviceConfig = {
ExecStart = "${pkgs.hologram.bin}/bin/hologram-agent -debug -conf ${cfgFile} -port ${cfg.httpPort}"; ExecStart = "${pkgs.hologram.bin}/bin/hologram-agent -debug -conf ${cfgFile} -port ${cfg.httpPort}";