Duplicati on centos not starting at boot

Hi,

Installed duplicati-2.0.4.23-2.0.4.23_beta_20190714.noarch.rpm on CentOS 7.
It’s working properly, but doesn’t automatically starting after a restart.
Tried systemctl enable, but it doesn’t find the service file.
Any ideas ?

Thanks!

I can’t remember but I think you have to create it yourself, but in any case here’s mine for Fedora if it helps:

[Unit]
Description=Duplicati Backup software

[Service]
ExecStart=/usr/bin/mono /usr/lib/duplicati/Duplicati.Server.exe --webservice-interface=any --webservice-sslcertificatefile=/usr/share/Duplicati/maggie.pfx --webservice-sslcertificatepassword=12345
Restart=on-failure
RestartSec=30

[Install]
WantedBy=multi-user.target

The parameters change the default to listen on all interfaces and loads an SSL certificate for HTTPS support, so you can leave those two out if you want.

1 Like

Thanks alot Taomyn!
That solved it!