- startup only when the network is up
- proper logging
- automatic restarts on failure
- optional protection for your ssh keys and other data if there's a breach (refer to `systemd-analyze security`)
Run:
$ systemctl --user edit --full --force rclone-ftp.service
[Unit] After=network-online.target Wants=network-online.target [Install] WantedBy=default.target [Service] ExecStart=/usr/bin/rclone --your-flags /directory
$ systemctl --user enable --now rclone-ftp
systemd is far from perfect, and Poettering is radically anti-user. But it's the best we got and it serves us well
What does that mean?
- startup only when the network is up
- proper logging
- automatic restarts on failure
- optional protection for your ssh keys and other data if there's a breach (refer to `systemd-analyze security`)
Run:
this opens a text editor; paste these lines: and then enable and start the service: