parent
053d0bbeb0
commit
1fba535ea1
@ -0,0 +1,8 @@ |
||||
[Unit] |
||||
Description=Copy files from Gliese 180 a to Gliese 180 b |
||||
After=local-fs.target |
||||
|
||||
[Service] |
||||
Type=oneshot |
||||
ExecStart=/usr/bin/rsync -a "/mnt/Gliese 180 a/" "/mnt/Gliese 180 b/" |
||||
User=shoofle |
@ -0,0 +1,10 @@ |
||||
[Unit] |
||||
Description=Timer for running the backup script (nightly) |
||||
|
||||
[Timer] |
||||
OnCalendar=*-*-* 00:00:00 |
||||
AccuracySec=1m |
||||
Persistent=true |
||||
|
||||
[Install] |
||||
WantedBy=timers.target |
Loading…
Reference in new issue