Hi everyone,
I am trying to run Seadrive as a service on an Ubuntu 20.04 server.
So far I have gotten it to work, but I have a timeout problem every time after 90 seconds. Since it is a service, it restarts automatically as expected. The problem here is that each folder is resynchronized, which causes further problems in my use case.
seadrive.service config:
[Unit]
Description=seaDrive Client service
After=network.target
StartLimitIntervalSec=0
[Service]
Type=forking
Restart=always
RestartSec=10
ExecStart=/usr/bin/seadrive -c /mnt/seadrive/seadrive.conf -f -d /mnt/seadrive/data -l /mnt/seadrive/logs/seadrive.log /mnt/seadrive/libs
[Install]
WantedBy=multi-user.target
journalctl:
systemd[1]: seadrive.service: start operation timed out. Terminating.
systemctl status after 90 secs:
Loaded: loaded (/etc/systemd/system/seadrive.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: timeout) since Fri 2022-12-16 12:49:26 UTC; 6s ago
Process: 5628 ExecStart=/usr/bin/seadrive -c /mnt/seadrive/seadrive.conf -f -d /mnt/seadrive/data -l /mnt/seadrive/logs/seadrive.log /mnt/seadrive/libs (code=exited, status=0/SUCCESS)
Does anyone have any idea why the service stopped working, or better yet, how to fix this problem?
Cheers