sftpgo/init/sftpgo.service

20 lines
377 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
Environment=SFTPGO_CONFIG_DIR=/etc/sftpgo/
Environment=SFTPGO_LOG_FILE_PATH=/var/log/sftpgo.log
EnvironmentFile=-/etc/sftpgo/sftpgo.env
ExecStart=/usr/bin/sftpgo
2019-07-20 10:26:52 +00:00
KillMode=mixed
Restart=always
RestartSec=10s
[Install]
WantedBy=multi-user.target