From 71093bbe1b77023eddb82437e424ec8a6c1a76d3 Mon Sep 17 00:00:00 2001 From: Jo Vandeginste Date: Fri, 20 Sep 2019 12:34:17 +0200 Subject: [PATCH] Log to journald By default on systems with systemd, send logs to stdout and thus to journald. --- init/sftpgo.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init/sftpgo.service b/init/sftpgo.service index 8dae1580..31b60f55 100644 --- a/init/sftpgo.service +++ b/init/sftpgo.service @@ -8,7 +8,7 @@ Group=root Type=simple WorkingDirectory=/etc/sftpgo Environment=SFTPGO_CONFIG_DIR=/etc/sftpgo/ -Environment=SFTPGO_LOG_FILE_PATH=/var/log/sftpgo.log +Environment=SFTPGO_LOG_FILE_PATH= EnvironmentFile=-/etc/sftpgo/sftpgo.env ExecStart=/usr/bin/sftpgo serve KillMode=mixed