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

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 {
default = ''/home/${cfg.user}/.config/quassel-irc.org'';
description = ''
@ -86,7 +81,7 @@ in
exec = ''
${pkgs.su}/bin/su -s ${pkgs.stdenv.shell} ${cfg.user} \
-c '${quassel}/bin/quasselcore --listen=${cfg.interface}\
--port=${toString cfg.portNumber} --configdir=${cfg.dataDir} --logfile=${cfg.logFile}'
--port=${toString cfg.portNumber} --configdir=${cfg.dataDir}'
'';
};