mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-04 21:03:15 +00:00
Quassel: use the generic logging for jobs instead of rolling your own.
svn path=/nixos/trunk/; revision=23854
This commit is contained in:
parent
39193fa1e7
commit
764f5f34fd
@ -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}'
|
||||
'';
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user