Hello! I am using the systemd to start and stop seafile this goes like this:
sudo systemctl stop seafile.service seahub.service
sudo systemctl start seafile.service seahub.service
So far so good, this is really amazing and works very well. Now I created a third systemd service to do some maintenance such as garbage collection and reporting. It is important, that seafile is stopped before executing the maintenance service and that it is started after the maintenance service. Its service file goes like this:
I used the
Conflicts= filed, which should stop seafile and seahub before starting the maintenance. But this does not work. Even
sudo journalctl -f does not show any error!? Does anybody know my mistake?