From 5c46a251734d894f3d3b82c1a8e82e8df89200bd Mon Sep 17 00:00:00 2001 From: Your Name Date: Thu, 30 Oct 2025 07:06:48 -0400 Subject: [PATCH] v0.8.5 - cleanup --- src/main.h | 4 ++-- systemd/c-relay-local.service | 40 ----------------------------------- 2 files changed, 2 insertions(+), 42 deletions(-) delete mode 100644 systemd/c-relay-local.service diff --git a/src/main.h b/src/main.h index 353008d..0e44758 100644 --- a/src/main.h +++ b/src/main.h @@ -12,8 +12,8 @@ // Version information (auto-updated by build system) #define VERSION_MAJOR 0 #define VERSION_MINOR 8 -#define VERSION_PATCH 4 -#define VERSION "v0.8.4" +#define VERSION_PATCH 5 +#define VERSION "v0.8.5" // Relay metadata (authoritative source for NIP-11 information) #define RELAY_NAME "C-Relay" diff --git a/systemd/c-relay-local.service b/systemd/c-relay-local.service deleted file mode 100644 index 1c0f007..0000000 --- a/systemd/c-relay-local.service +++ /dev/null @@ -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 (.db) are created automatically in WorkingDirectory -# Admin keys are generated and displayed only during first startup - -[Install] -WantedBy=multi-user.target \ No newline at end of file