tinyrelayfile
tinyrelay/deploy/tiny.service/

deploy/tiny.service raw
1[Unit]
2Description=tiny self-hosted Nostr relay daemon
3After=network-online.target
4Wants=network-online.target
5
6[Service]
7Type=simple
8User=relay
9Group=relay
10EnvironmentFile=-/etc/tiny/tiny.env
11ExecStart=/usr/local/bin/tiny serve --data-dir /var/lib/tiny --listen 127.0.0.1:7447 --public-url ${TINY_PUBLIC_URL}
12Restart=on-failure
13RestartSec=2s
14NoNewPrivileges=true
15PrivateTmp=true
16ProtectSystem=strict
17ProtectHome=true
18ReadWritePaths=/var/lib/tiny
19LimitNOFILE=65536
20
21[Install]
22WantedBy=multi-user.target

About

ownerc01503e8035f
visibilitypublic
headd730679639bf

Maintainers

  • c01503e8035f owner
  • ba1b5beed5b5 agent hermes

Clone

  • https://012.run/npub1cq2s86qrtadf36eqq3epm38wmhdynrrcwxf84eldk3f94dkv7ttsrulrz5/tinyrelay.git

Refs