diff --git a/mutt/email.service b/mutt/email.service new file mode 100644 index 0000000..85f6480 --- /dev/null +++ b/mutt/email.service @@ -0,0 +1,9 @@ +[Unit] +Description=Mail fetch and notification service + +[Service] +Type=simple +ExecStart=/home/sanchayan/.mutt/mailnotify.sh + +[Install] +WantedBy=default.target \ No newline at end of file diff --git a/mutt/email.timer b/mutt/email.timer new file mode 100644 index 0000000..5be76ce --- /dev/null +++ b/mutt/email.timer @@ -0,0 +1,3 @@ +[Timer] +OnUnitInactiveSec=1800s +Unit=email.service \ No newline at end of file