mirror of
https://github.com/drakkan/sftpgo.git
synced 2025-12-06 06:10:54 +03:00
systemd unit: run as "sftpgo" system user
Update the docs too Fixes #177
This commit is contained in:
@@ -3,8 +3,8 @@ Description=SFTPGo Server
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
User=sftpgo
|
||||
Group=sftpgo
|
||||
Type=simple
|
||||
WorkingDirectory=/etc/sftpgo
|
||||
Environment=SFTPGO_CONFIG_DIR=/etc/sftpgo/
|
||||
|
||||
Reference in New Issue
Block a user