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.
This commit is contained in:
committed by
Robin Gloster
parent
7c8f19b31b
commit
bf371a8b06
@@ -52,8 +52,7 @@ in
|
|||||||
description = "A Simple Calendar and Contact Server";
|
description = "A Simple Calendar and Contact Server";
|
||||||
after = [ "network-interfaces.target" ];
|
after = [ "network-interfaces.target" ];
|
||||||
wantedBy = [ "multi-user.target" ];
|
wantedBy = [ "multi-user.target" ];
|
||||||
script = "${pkgs.pythonPackages.radicale}/bin/radicale -C ${confFile} -d";
|
script = "${pkgs.pythonPackages.radicale}/bin/radicale -C ${confFile} -f";
|
||||||
serviceConfig.Type = "forking";
|
|
||||||
serviceConfig.User = "radicale";
|
serviceConfig.User = "radicale";
|
||||||
serviceConfig.Group = "radicale";
|
serviceConfig.Group = "radicale";
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user