l copyq: fix startup

This commit is contained in:
lassulus 2017-10-03 11:38:11 +02:00
parent 32d9ba480b
commit 958e86fadf

View File

@ -25,12 +25,15 @@ in {
environment = { environment = {
DISPLAY = ":0"; DISPLAY = ":0";
}; };
path = with pkgs; [
qt5.full
];
serviceConfig = { serviceConfig = {
SyslogIdentifier = "copyq"; SyslogIdentifier = "copyq";
ExecStart = "${pkgs.copyq}/bin/copyq"; ExecStart = "${pkgs.copyq}/bin/copyq";
ExecStartPost = copyqConfig; ExecStartPost = copyqConfig;
Restart = "always"; Restart = "always";
RestartSec = "2s"; RestartSec = "15s";
StartLimitBurst = 0; StartLimitBurst = 0;
User = "lass"; User = "lass";
}; };