mirror of
https://git.freebsd.org/ports.git
synced 2025-04-29 18:16:48 -04:00
Mailnag is a daemon program that checks POP3 and IMAP servers for new mail. On mail arrival it performs various actions provided by plugins. Mailnag comes with a set of desktop-independent default plugins for visual/sound notifications, script execution etc. and can be extended with additional plugins easily. WWW: https://github.com/pulb/mailnag
19 lines
443 B
Text
19 lines
443 B
Text
--- mailnag.orig 2021-01-30 10:40:37 UTC
|
|
+++ mailnag
|
|
@@ -30,6 +30,7 @@ import argparse
|
|
import logging
|
|
import os
|
|
import signal
|
|
+from setproctitle import setproctitle
|
|
|
|
from Mailnag.common.utils import fix_cwd
|
|
|
|
@@ -86,7 +87,7 @@ def main():
|
|
mainloop = GLib.MainLoop()
|
|
daemon = None
|
|
|
|
- set_procname(PROGNAME)
|
|
+ setproctitle(PROGNAME)
|
|
|
|
DBusGMainLoop(set_as_default = True)
|
|
GLib.unix_signal_add(GLib.PRIORITY_HIGH, signal.SIGTERM,
|