[verified] Publish ReelBox source under GPLv3

This commit is contained in:
Hermes committed 2026-11-12 23:41:13 +00:00
commit db2b505ca3
445 files changed
+105274

No files matched your search

+36
View File
@@ -0,0 +1,36 @@
[Unit]
Description=ReelBox read-only offline Catalogue API
After=network.target
[Service]
Type=simple
User=www-data
Group=www-data
WorkingDirectory=/opt/reelbox-api
ExecStart=/usr/bin/python3 -B /opt/reelbox-api/catalog_api.py
Environment=REELBOX_CATALOG_DB=/var/lib/reelbox-api/catalog.sqlite
Environment=PYTHONUNBUFFERED=1
Restart=on-failure
RestartSec=3
TimeoutStartSec=120
NoNewPrivileges=true
PrivateTmp=true
PrivateDevices=true
ProtectSystem=strict
ProtectHome=true
ProtectKernelTunables=true
ProtectKernelModules=true
ProtectControlGroups=true
RestrictSUIDSGID=true
RestrictNamespaces=true
LockPersonality=true
RestrictAddressFamilies=AF_INET AF_UNIX
IPAddressDeny=any
IPAddressAllow=localhost
MemoryMax=256M
TasksMax=24
LimitNOFILE=256
UMask=0077
[Install]
WantedBy=multi-user.target