Add systemd service files for use with mutt
This commit is contained in:
parent
ee95c2d562
commit
db2b4443be
2 changed files with 12 additions and 0 deletions
9
mutt/email.service
Normal file
9
mutt/email.service
Normal 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
3
mutt/email.timer
Normal file
|
@ -0,0 +1,3 @@
|
|||
[Timer]
|
||||
OnUnitInactiveSec=1800s
|
||||
Unit=email.service
|
Loading…
Reference in a new issue