19 lines
383 B
Desktop File
19 lines
383 B
Desktop File
[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 serve
|
|
KillMode=mixed
|
|
Restart=always
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|