What is Nostr?
Stefano Marinelli /
npub14ca…0nj8
2023-10-26 11:04:00
in reply to nevent1q…rm00

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

npub1k6gpa65cm0plpsnjew3ufm6vs8gftk5jvc0su766kcrvupjfrp6s39e6eu (npub1k6g…e6eu) 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