Add systemd service files for use with mutt

This commit is contained in:
Sanchayan Maity 2017-06-01 11:23:27 +05:30
parent ee95c2d562
commit db2b4443be
2 changed files with 12 additions and 0 deletions

9
mutt/email.service Normal file
View file

@ -0,0 +1,9 @@
[Unit]
Description=Mail fetch and notification service
[Service]
Type=simple
ExecStart=/home/sanchayan/.mutt/mailnotify.sh
[Install]
WantedBy=default.target

3
mutt/email.timer Normal file
View file

@ -0,0 +1,3 @@
[Timer]
OnUnitInactiveSec=1800s
Unit=email.service