Quassel: use the generic logging for jobs instead of rolling your own.

svn path=/nixos/trunk/; revision=23854
This commit is contained in:
Evgeny Egorochkin 2010-09-18 12:50:55 +00:00
parent 39193fa1e7
commit 764f5f34fd
1 changed files with 1 additions and 6 deletions

View File

@ -38,11 +38,6 @@ in
''; '';
}; };
logFile = mkOption {
default = "/var/log/quassel.log";
description = "Location of the logfile of the Quassel daemon.";
};
dataDir = mkOption { dataDir = mkOption {
default = ''/home/${cfg.user}/.config/quassel-irc.org''; default = ''/home/${cfg.user}/.config/quassel-irc.org'';
description = '' description = ''
@ -86,7 +81,7 @@ in
exec = '' exec = ''
${pkgs.su}/bin/su -s ${pkgs.stdenv.shell} ${cfg.user} \ ${pkgs.su}/bin/su -s ${pkgs.stdenv.shell} ${cfg.user} \
-c '${quassel}/bin/quasselcore --listen=${cfg.interface}\ -c '${quassel}/bin/quasselcore --listen=${cfg.interface}\
--port=${toString cfg.portNumber} --configdir=${cfg.dataDir} --logfile=${cfg.logFile}' --port=${toString cfg.portNumber} --configdir=${cfg.dataDir}'
''; '';
}; };