tv xserver: replace need-reload by echo

This commit is contained in:
tv 2016-05-25 11:16:38 +02:00
parent 438a445ab6
commit 6370d2c2e2
2 changed files with 2 additions and 3 deletions

View File

@ -97,7 +97,7 @@ in {
};
serviceConfig = {
SyslogIdentifier = "xserver";
ExecReload = "${pkgs.need-reload}/bin/need-reload xserver.service";
ExecReload = "${pkgs.coreutils}/bin/echo NOP";
ExecStart = toString [
"${pkgs.xorg.xorgserver}/bin/X"
":${toString config.services.xserver.display}"
@ -115,7 +115,7 @@ in {
reloadIfChanged = true;
serviceConfig = {
SyslogIdentifier = "urxvtd";
ExecReload = "${pkgs.need-reload}/bin/need-reload urxvtd.service";
ExecReload = "${pkgs.coreutils}/bin/echo NOP";
ExecStart = "${pkgs.rxvt_unicode}/bin/urxvtd";
Restart = "always";
RestartSec = "2s";

View File

@ -17,7 +17,6 @@
erlang = pkgs.erlangR16;
};
ff = pkgs.callPackage ./ff {};
need-reload = pkgs.writeDashBin "need-reload" ''echo "$*"'';
viljetic-pages = pkgs.callPackage ./viljetic-pages {};
xmonad-tv = import ./xmonad-tv.nix { inherit pkgs; };
};