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
Published at
2023-10-26 11:04:00Event JSON
{
"id": "c516912d074e8f06625591a69624fbc318418e03e4bbde29261105fa52b683cf",
"pubkey": "ae3bf73746446a5edd319cef72033b539598a21ad07c2c2c4a84fbeaf22b835a",
"created_at": 1698318240,
"kind": 1,
"tags": [
[
"p",
"b6901eea98dbc3f0c272cba3c4ef4c81d095da92661f0e7b5ab606ce06491875",
"wss://relay.mostr.pub"
],
[
"p",
"20f1cdb66c5670796682e13a326e0fe730005b81a7a2039b6fe4c169a4e42090",
"wss://relay.mostr.pub"
],
[
"e",
"cd26db32ca3b69d772bb00cdd545401644cd1138f7fdb6e0b1dc62bd9da7e171",
"wss://relay.mostr.pub",
"reply"
],
[
"proxy",
"https://mastodon.bsd.cafe/users/stefano/statuses/111300984180259341",
"activitypub"
]
],
"content": "nostr:npub1k6gpa65cm0plpsnjew3ufm6vs8gftk5jvc0su766kcrvupjfrp6s39e6eu 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:\n\n[Unit]\nDescription=NotiMail Service\nAfter=network.target\n\n[Service]\nUser=notimail\nWorkingDirectory=/home/notimail/NotiMail\nExecStart=/usr/bin/python3 /home/notimail/NotiMail/NotiMail.py\nRestart=always\n\n[Install]\nWantedBy=multi-user.target",
"sig": "51a892dda8f24df3415ab470937c2e0661d159ec880a857b3745135e0f64bf0eeb120a96ee04df44a0f1229bf78cc3dc32dd08e7c360d22ad2ba3bc0becfa955"
}