Mounting your Neocities file system on Linux
[Unit]
Description=Neocities Drive Mount
After=network-online.target
wants=network-online.target
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount neocities: /home/*YOUR_USERNAME*/NeoCities
Restart=on-failures
User=xionical
[Install]
WantedBy=multi-user.target
This is great and all, but systemd doesnt actually know about this service you want to add.
You need to tell systemd to start this service, but not only that. You want to enable this service every boot in
the future.
Make sure you unmount the drive before starting the service, as it will attempt to mount to the same
point
sudo systemctl enable --now rclone-neocities.service
will start the service and enable it for every
boot.
To stop this from happening every boot, you can do sudo systemctl disable --now
rclone-neocities.service
Home