mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
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
|
Type=simple
|
||||||
WorkingDirectory=/etc/sftpgo
|
WorkingDirectory=/etc/sftpgo
|
||||||
Environment=SFTPGO_CONFIG_DIR=/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
|
EnvironmentFile=-/etc/sftpgo/sftpgo.env
|
||||||
ExecStart=/usr/bin/sftpgo serve
|
ExecStart=/usr/bin/sftpgo serve
|
||||||
KillMode=mixed
|
KillMode=mixed
|
||||||
|
|
Loading…
Reference in a new issue