v0.8.5 - cleanup
This commit is contained in:
@@ -12,8 +12,8 @@
|
|||||||
// Version information (auto-updated by build system)
|
// Version information (auto-updated by build system)
|
||||||
#define VERSION_MAJOR 0
|
#define VERSION_MAJOR 0
|
||||||
#define VERSION_MINOR 8
|
#define VERSION_MINOR 8
|
||||||
#define VERSION_PATCH 4
|
#define VERSION_PATCH 5
|
||||||
#define VERSION "v0.8.4"
|
#define VERSION "v0.8.5"
|
||||||
|
|
||||||
// Relay metadata (authoritative source for NIP-11 information)
|
// Relay metadata (authoritative source for NIP-11 information)
|
||||||
#define RELAY_NAME "C-Relay"
|
#define RELAY_NAME "C-Relay"
|
||||||
|
|||||||
@@ -1,40 +0,0 @@
|
|||||||
[Unit]
|
|
||||||
Description=C Nostr Relay Server (Local Development)
|
|
||||||
Documentation=https://github.com/your-repo/c-relay
|
|
||||||
After=network.target
|
|
||||||
Wants=network-online.target
|
|
||||||
|
|
||||||
[Service]
|
|
||||||
Type=simple
|
|
||||||
User=teknari
|
|
||||||
WorkingDirectory=/home/teknari/Storage/c_relay
|
|
||||||
Environment=DEBUG_LEVEL=0
|
|
||||||
ExecStart=/home/teknari/Storage/c_relay/crelay --port 7777 --debug-level=$DEBUG_LEVEL
|
|
||||||
Restart=always
|
|
||||||
RestartSec=5
|
|
||||||
StandardOutput=journal
|
|
||||||
StandardError=journal
|
|
||||||
SyslogIdentifier=c-relay-local
|
|
||||||
|
|
||||||
# Security settings (relaxed for local development)
|
|
||||||
NoNewPrivileges=true
|
|
||||||
ProtectSystem=strict
|
|
||||||
ProtectHome=true
|
|
||||||
ReadWritePaths=/home/teknari/Storage/c_relay
|
|
||||||
PrivateTmp=true
|
|
||||||
|
|
||||||
# Network security
|
|
||||||
PrivateNetwork=false
|
|
||||||
RestrictAddressFamilies=AF_INET AF_INET6
|
|
||||||
|
|
||||||
# Resource limits
|
|
||||||
LimitNOFILE=65536
|
|
||||||
LimitNPROC=4096
|
|
||||||
|
|
||||||
# Event-based configuration system
|
|
||||||
# No environment variables needed - all configuration is stored as Nostr events
|
|
||||||
# Database files (<relay_pubkey>.db) are created automatically in WorkingDirectory
|
|
||||||
# Admin keys are generated and displayed only during first startup
|
|
||||||
|
|
||||||
[Install]
|
|
||||||
WantedBy=multi-user.target
|
|
||||||
Reference in New Issue
Block a user