You are not logged in.
Pages: 1
Hi,
I want to configure a systemd timer to start 5min after boot and trigger my movie.service
/etc/systemd/system/movie.timer
[Unit]
Description=Movie Backup Timer
[Timer]
OnBootSec=5min
OnUnitActiveSec=1d
[Install]
WantedBy=timers.target
/etc/systemd/system/movie.service
[Unit]
Description=Movie Backup Service
[Service]
Type=oneshot
ExecStart=/usr/local/bin/snapshot.sh 3ac0cefc-9d90-44d6-8b1c-d4394fb3393f Movie
this is working like expected
systemctl start movie.service
But for some reason the timer is not listed in 'systemctl list-timers' after boot
And yes the I have executed
systemctl enable movie.timer
Last edited by _pheinrich_ (2016-03-07 19:18:02)
Offline
Pages: 1