Rename deploy artifacts for FieldWitness rebrand
Rename live-usb service files, hook scripts, and package lists from soosef to fieldwitness. Fix remaining VERISOO_ env vars in docker compose and kubernetes configs. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
[Unit]
|
||||
Description=FieldWitness
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=fieldwitness
|
||||
Group=fieldwitness
|
||||
WorkingDirectory=/home/fieldwitness
|
||||
Environment=PATH=/opt/fieldwitness-env/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
|
||||
Environment=FIELDWITNESS_DATA_DIR=/home/fieldwitness/.fwmetadata
|
||||
ExecStartPre=/opt/fieldwitness-env/bin/fieldwitness init --no-identity --no-channel
|
||||
ExecStart=/opt/fieldwitness-env/bin/fieldwitness serve --host 0.0.0.0 --no-https
|
||||
Restart=on-failure
|
||||
RestartSec=5
|
||||
|
||||
# Security hardening
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=read-only
|
||||
ReadWritePaths=/home/fieldwitness/.fwmetadata
|
||||
PrivateTmp=yes
|
||||
ProtectKernelTunables=yes
|
||||
ProtectControlGroups=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user