sftpgo/init/sftpgo.service

17 lines
302 B
SYSTEMD
Raw Normal View History

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
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