From bf371a8b0622208aae1727dc1cfeb77df9973271 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Thu, 8 Sep 2016 12:34:22 +0200 Subject: radicale service: use "simple" service type (#18406) Radicale can run as a foreground service and will then emits logging and errors on the standard output. This helps the logging end up in the systemd journal. --- nixos/modules/services/networking/radicale.nix | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'nixos/modules/services') diff --git a/nixos/modules/services/networking/radicale.nix b/nixos/modules/services/networking/radicale.nix index 19762f4e570c..d5e2e3041b49 100644 --- a/nixos/modules/services/networking/radicale.nix +++ b/nixos/modules/services/networking/radicale.nix @@ -52,8 +52,7 @@ in description = "A Simple Calendar and Contact Server"; after = [ "network-interfaces.target" ]; wantedBy = [ "multi-user.target" ]; - script = "${pkgs.pythonPackages.radicale}/bin/radicale -C ${confFile} -d"; - serviceConfig.Type = "forking"; + script = "${pkgs.pythonPackages.radicale}/bin/radicale -C ${confFile} -f"; serviceConfig.User = "radicale"; serviceConfig.Group = "radicale"; }; -- cgit 1.4.1