Log to journald
By default on systems with systemd, send logs to stdout and thus to journald.
This commit is contained in:
parent
088e187e6a
commit
71093bbe1b
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue