mirror of
https://github.com/rustfs/rustfs.git
synced 2026-08-23 04:39:04 +00:00
fix(deploy): auto-create rustfs log directory (#2500)
This commit is contained in:
@@ -30,6 +30,7 @@ EnvironmentFile=-/etc/default/rustfs
|
|||||||
ExecStart=/usr/local/bin/rustfs $RUSTFS_VOLUMES $RUSTFS_OPTS
|
ExecStart=/usr/local/bin/rustfs $RUSTFS_VOLUMES $RUSTFS_OPTS
|
||||||
|
|
||||||
# service log configuration
|
# service log configuration
|
||||||
|
LogsDirectory=rustfs
|
||||||
StandardOutput=append:/var/log/rustfs/rustfs.log
|
StandardOutput=append:/var/log/rustfs/rustfs.log
|
||||||
StandardError=append:/var/log/rustfs/rustfs-err.log
|
StandardError=append:/var/log/rustfs/rustfs-err.log
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user