feat: add systemd services and nginx config

- signal-cli-bot.service: runs signal-cli daemon on 127.0.0.1:8081
- github-to-signal.service: depends on signal-cli-bot, auto-starts it
- nginx reverse proxy with TLS termination
- README updated with full deployment instructions
This commit is contained in:
2026-03-10 23:35:16 +00:00
parent 9c233dea0b
commit d3cca2bb02
4 changed files with 106 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
[Unit]
Description=signal-cli daemon for github-to-signal bot
After=network-online.target
Wants=network-online.target
[Service]
Type=exec
ExecStart=/usr/local/bin/signal-cli -a +1YOURNUMBER daemon --http 127.0.0.1:8081 --no-receive-stdout
Restart=on-failure
RestartSec=5
# Hardening
NoNewPrivileges=true
ProtectSystem=strict
ProtectHome=read-only
PrivateTmp=true
ReadWritePaths=/home/signal-bot/.local/share/signal-cli
User=signal-bot
Group=signal-bot
[Install]
WantedBy=multi-user.target