Add files via upload

This commit is contained in:
Tomáš Dvořák authored and GitHub committed 2025-05-22 08:50:10 +02:00
1 parent 4d0f7d9b2e
commit fddb6056a8
9 files changed
+866 -433

No files matched your search

@@ -0,0 +1,29 @@
[Unit]
Description=Contact Scrape Service
After=network.target
[Service]
Type=simple
User=www-data
WorkingDirectory=/opt/contact-scrape
ExecStart=/opt/contact-scrape/contact-scrape
Restart=always
RestartSec=5
Environment=PORT=8080
# Security settings
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
ReadWritePaths=/opt/contact-scrape/data
CapabilityBoundingSet=CAP_NET_BIND_SERVICE
AmbientCapabilities=CAP_NET_BIND_SERVICE
# Logging
StandardOutput=journal
StandardError=journal
SyslogIdentifier=contact-scrape
[Install]
WantedBy=multi-user.target