sftpgo-mirror/init/sftpgo.service

23 lines
433 B
SYSTEMD
Raw Permalink 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=sftpgo
Group=sftpgo
2019-07-20 10:26:52 +00:00
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
2021-09-19 15:38:37 +00:00
LimitNOFILE=8192
2019-07-20 10:26:52 +00:00
KillMode=mixed
PrivateTmp=true
2019-07-20 10:26:52 +00:00
Restart=always
RestartSec=10s
[Install]
WantedBy=multi-user.target