Updated Systemd rclone mount (markdown)

jasonlyle88 2020-04-24 18:21:06 -04:00
parent d0104d3f35
commit 2d3357dd40

@ -105,7 +105,7 @@ WantedBy=default.target
``` ```
# Service installation # Service installation
Save the above file to `/etc/systemd/user/rclone@.service`. The "@" at the end of the name of the service is what makes the service a templated service and is passed to the service file as the `%i` placeholder. After saving the file to the file system, you need to issue the following command to tell systemd to look for the new service file (this will also need done if you change the service file) Save the above file to `/etc/systemd/user/rclone@.service` if you want it accessible to the entire system, or `~/.config/systemd/user/rclone@.service` if you want it only accessible for a single user. The "@" at the end of the name of the service is what makes the service a templated service and is passed to the service file as the `%i` placeholder. After saving the file to the file system, you need to issue the following command to tell systemd to look for the new service file (this will also need done if you change the service file)
`systemctl --user daemon-reload` `systemctl --user daemon-reload`