summary refs log tree commit diff
path: root/nixos/modules/services
diff options
context:
space:
mode:
authorRobert Helgesson <robert@rycee.net>2016-09-08 12:34:22 +0200
committerRobin Gloster <mail@glob.in>2016-09-08 12:34:22 +0200
commitbf371a8b0622208aae1727dc1cfeb77df9973271 (patch)
tree0dccc8123a09717b6faabb4035669c9c8eb7254b /nixos/modules/services
parent7c8f19b31bdb98404ad3bc9b7d8007207c2387de (diff)
downloadnixlib-bf371a8b0622208aae1727dc1cfeb77df9973271.tar
nixlib-bf371a8b0622208aae1727dc1cfeb77df9973271.tar.gz
nixlib-bf371a8b0622208aae1727dc1cfeb77df9973271.tar.bz2
nixlib-bf371a8b0622208aae1727dc1cfeb77df9973271.tar.lz
nixlib-bf371a8b0622208aae1727dc1cfeb77df9973271.tar.xz
nixlib-bf371a8b0622208aae1727dc1cfeb77df9973271.tar.zst
nixlib-bf371a8b0622208aae1727dc1cfeb77df9973271.zip
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.
Diffstat (limited to 'nixos/modules/services')
-rw-r--r--nixos/modules/services/networking/radicale.nix3
1 files changed, 1 insertions, 2 deletions
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";
     };