Why Nostr? What is Njump?
2023-10-26 11:04:00
in reply to

Stefano Marinelli on Nostr: npub1k6gpa…9e6eu It depends: on testing instances, I just run it from a tmux ...

It depends: on testing instances, I just run it from a tmux session. On production systems, I've created a rc.d for FreeBSD (as I'm packaging it for the ports system) and, for my Centos7 server (the one I'm running it in production for my mailboxes), I've created a simple systemd script:

[Unit]
Description=NotiMail Service
After=network.target

[Service]
User=notimail
WorkingDirectory=/home/notimail/NotiMail
ExecStart=/usr/bin/python3 /home/notimail/NotiMail/NotiMail.py
Restart=always

[Install]
WantedBy=multi-user.target
Author Public Key
npub14calwd6xg349ahf3nnhhyqem2w2e3gs66p7zctz2sna74u3tsddq7j0nj8