base) [dejhost@Workstation ~]$ ps -eF n | grep -i duplicati
0 1252 1 0 347002 93340 11 15:00 ? Ssl 0:02 /usr/bin/mono /opt/duplicati-latest/Duplicati.Server.exe --webservice-port=8300
1000 50905 18796 0 1671 2528 1 15:11 pts/0 S+ 0:00 grep --colour=auto -i duplicati
(base) [dejhost@Workstation ~]$
I edited the /home/dejhost/.config/systemd/user/default.target.wants/duplicati.service, which looks like this now:
Description=Duplicati
[Service]
ExecStartPre=/usr/bin/sleep 5
ExecStart=/usr/bin/mono /opt/duplicati-latest/Duplicati.GUI.TrayIcon.exe --webservice-port=8300 --no-hosted-server --hosturl=http://localhost:8300 --webserver-password="mypassword"
Restart=on-abort
Environment=AUTOUPDATER_Duplicati_SKIP_UPDATE=1
[Install]
WantedBy=default.target
But the Tray-Icon still doesn’t start automatically. This command
/usr/bin/mono /opt/duplicati-latest/Duplicati.GUI.TrayIcon.exe --webservice-port=8300 --no-hosted-server --hosturl=http://localhost:8300 --webserver-password=mypassword
works fine when I run it manually and when I put it into a login-sript. But it feels strange to have the password unencrypted.
If I understand this correctly I have these options now:
- Run Tray-Icon-command at login, using password
- Switch to port 8200 and see if it works without password