1
0
Fork 0
forked from mia/0x0

Add support for ClamAV

This commit is contained in:
Mia Herkt 2022-12-12 07:25:30 +01:00
parent da30c8f8ff
commit a904922cbd
No known key found for this signature in database
GPG key ID: 72E154B8622EC191
6 changed files with 167 additions and 1 deletions

22
0x0-vscan.service Normal file
View file

@ -0,0 +1,22 @@
[Unit]
Description=Scan 0x0 files with ClamAV
After=remote-fs.target clamd.service
[Service]
Type=oneshot
User=nullptr
WorkingDirectory=/path/to/0x0
BindPaths=/path/to/0x0
Environment=FLASK_APP=fhost
ExecStart=/usr/bin/flask vscan
ProtectProc=noaccess
ProtectSystem=strict
ProtectHome=tmpfs
PrivateTmp=true
PrivateUsers=true
ProtectKernelLogs=true
LockPersonality=true
[Install]
WantedBy=multi-user.target