mirror of
https://github.com/drakkan/sftpgo.git
synced 2024-11-21 23:20:24 +00:00
4ebedace1e
Update the docs too Fixes #177
21 lines
416 B
Desktop File
21 lines
416 B
Desktop File
[Unit]
|
|
Description=SFTPGo Server
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=sftpgo
|
|
Group=sftpgo
|
|
Type=simple
|
|
WorkingDirectory=/etc/sftpgo
|
|
Environment=SFTPGO_CONFIG_DIR=/etc/sftpgo/
|
|
Environment=SFTPGO_LOG_FILE_PATH=
|
|
EnvironmentFile=-/etc/sftpgo/sftpgo.env
|
|
ExecStart=/usr/bin/sftpgo serve
|
|
ExecReload=/bin/kill -s HUP $MAINPID
|
|
KillMode=mixed
|
|
PrivateTmp=true
|
|
Restart=always
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|