diff options
Diffstat (limited to 'getmail/.config/systemd/user')
-rw-r--r-- | getmail/.config/systemd/user/getmail.service | 8 | ||||
-rw-r--r-- | getmail/.config/systemd/user/getmail.timer | 10 |
2 files changed, 18 insertions, 0 deletions
diff --git a/getmail/.config/systemd/user/getmail.service b/getmail/.config/systemd/user/getmail.service new file mode 100644 index 0000000..4e91ef3 --- /dev/null +++ b/getmail/.config/systemd/user/getmail.service @@ -0,0 +1,8 @@ +[Unit] +Description=getmail service + +[Service] +Type=oneshot +ExecStart=/usr/bin/getmail +StandardOutput=syslog +StandardError=syslog diff --git a/getmail/.config/systemd/user/getmail.timer b/getmail/.config/systemd/user/getmail.timer new file mode 100644 index 0000000..64036a8 --- /dev/null +++ b/getmail/.config/systemd/user/getmail.timer @@ -0,0 +1,10 @@ +[Unit] +Description=getmail timer + +[Timer] +OnCalendar=0/1:00:00 +Persistent=true +Unit=getmail.service + +[Install] +WantedBy=timers.target |