sftpgo-mirror/init/sftpgo.service

21 lines
396 B
SYSTEMD
Raw Normal View History

2019-07-20 10:26:52 +00:00
[Unit]
Description=SFTPGo Server
2019-07-20 10:26:52 +00:00
After=network.target
[Service]
User=root
Group=root
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
2020-04-05 09:36:29 +00:00
ExecReload=/bin/kill -s HUP $MAINPID
2019-07-20 10:26:52 +00:00
KillMode=mixed
Restart=always
RestartSec=10s
[Install]
WantedBy=multi-user.target