2019-07-20 10:26:52 +00:00
|
|
|
[Unit]
|
|
|
|
Description=SFTPGo sftp server
|
|
|
|
After=network.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
User=root
|
|
|
|
Group=root
|
|
|
|
Type=simple
|
|
|
|
WorkingDirectory=/etc/sftpgo
|
2019-08-01 22:26:20 +00:00
|
|
|
ExecStart=/usr/bin/sftpgo --config-dir /etc/sftpgo --log-file-path /var/log/sftpgo.log
|
2019-07-20 10:26:52 +00:00
|
|
|
KillMode=mixed
|
|
|
|
Restart=always
|
|
|
|
RestartSec=10s
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|