summaryrefslogtreecommitdiff
path: root/baserock_backup/crond.service
blob: 07efb8079a8274e3ed55743d980ecbf8ec4603ff (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# Busybox Cron is used to run the 'baserock-backup' script.
#
# It'd be better to run that script using a systemd timer unit, but the
# script didn't work when run by systemd, when I last tested it. Seems like
# it does something clever to stdin/stdout which breaks the clever thing
# baserock-backup does with rsync.

[Unit]
Description=Busybox Cron daemon
Requires=local-fs.target
After=local-fs.target

[Service]
Type=simple
ExecStart=/usr/sbin/crond -f

[Install]
WantedBy=multi-user.target