###### tags: `nas`
# Rclone Systemd
```shell
vim /etc/systemd/system/rclone.service
```
```
[Unit]
Description=onedrive(rclone)
AssertPathIsDirectory=/mnt/one
After=plexdrive.service
[Service]
Type=simple
ExecStart=/usr/bin/rclone mount \
--config=/root/.rclone.conf \
--allow-other \
--cache-tmp-upload-path=/tmp/rclone/upload \
--cache-chunk-path=/tmp/rclone/chunks \
--cache-workers=8 \
--cache-writes \
--cache-dir=/tmp/rclone/vfs \
--cache-db-path=/tmp/rclone/db \
--no-modtime \
--drive-use-trash \
--stats=0 \
--checkers=16 \
--bwlimit=40M \
--dir-cache-time=60m \
--cache-info-age=60m one:/ /mnt/one
ExecStop=/bin/fusermount -u /mnt/google-drive
Restart=always
RestartSec=10
[Install]
WantedBy=default.target
```
```
systemctl enable rclone
systemctl start rclone
```