73c61cda31
go flag library supports one or two minus signs, they are equivalent. Other Go command line parsers such as kingpin only support the -- variant
16 lines
302 B
Desktop File
16 lines
302 B
Desktop File
[Unit]
|
|
Description=SFTPGo sftp server
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=root
|
|
Group=root
|
|
Type=simple
|
|
WorkingDirectory=/etc/sftpgo
|
|
ExecStart=/usr/bin/sftpgo --config-dir /etc/sftpgo --log-file-path /var/log/sftpgo.log
|
|
KillMode=mixed
|
|
Restart=always
|
|
RestartSec=10s
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|