
You can do that without modifying the default files by running the following (You need to do the same for rvice): systemctl edit rvice Or you can add Wants=rvice to the rvice and rvice units. To fix your problem, you need to change your mount service to: You can also use the inverse of each of those options. Just like Wants=, however, this will make your unit start only after the dependencies have successfully started. (Doesn't matter if it started successfully or not) This option allows your unit to start only after another unit has finished starting up.

This option only sets the order of the units, it doesn't guarantee that the service has finished starting up. I'll try to briefly explain the difference but you can find more details at Section Options | There are 3 main properties for managing dependencies. The reason you are having this problem is because you are using After= while you also need Requires= or Wants=. I wrote this with sudo nano /etc/systemd/system/rvice ĮxecStart=/home/samsepioldoloresh4ze/bin/check.mountĪnd added to rvice and rvice rvice in the After= bit, like this Īfter=syslog.target network.target rviceīut it's not working! Sonarr and Radarr start normally, but the drives are not mounted! What am I doing wrong?Īlso, rtcwake doesn't work on my laptop - I think it's a kernel issue?! Is there a way to fix that? What I'd like to do is create a rvice (service, or whatever is necessary) to automatically launch the check.mount script and, if that's not enough, insert a delay in rvice and rvice! Is that possible? The problem is, by the time I manually launch the script Sonarr/Radarr are already up and running and can't find their root folders, so they give me an error. Sonarr and Radarr are set up to download stuff via deluge to a temp folder and then export it to one of these two mounted folders.
#Install sonarr service install#
I've installed sonarr, radarr, deluge, jackett, etc etc and they all automatically launch at startup!Ī couple of days ago I decided to install rclone too and I've created (thanks to a GitHub project) a couple of folders that have to be mounted at each startup by launching a script (I launch it via terminal writing sudo ~/bin/check.mount).
#Install sonarr service software#
I've installed some software on it to create a small homemade plex server. I'm running Ubuntu 16.04 on an old HP Laptop
