Linux : Run as service

Hello.

I have just found Duplicati & installed beta2.0. I cannot find anywhere a test button for email settings but more importantly cannot find any ability to have Duplicati running & doing scheduled backups without having to log in, ie, run as a true service. Can you advise any further information?

Regards,

CJ

1 Like

I can’t help with the email question.

The latest version I installed 2 days ago installed a systemd service. as long as this is running the backups should work. The web UI is just for status and changing configuration.

Which distro are you using?

As @tenkian said it installs a systemd service, so it should be a matter of running:

systemctl start duplicati

If you want the tray-icon, change the launcher executable to use:

duplicati --no-hosted-server --serverurl=http://localhost:8200

That will make the tray-icon start on login and point to the already running service.

If you cannot (or will not) use the systemd script, you can simply run

mono Duplicati.Server.exe &

In an init.rc script or similar.

The email setup is explained in this topic:
https://forum.duplicati.com/t/how-to-set-up-email-notification/233/6

A helpful guide here for those who didn’t end up with service files (none were installed on OpenSUSE): Headless installation on Debian or Ubuntu · duplicati/duplicati Wiki · GitHub.