diff options
| author | Mia Herkt <mia@0x0.st> | 2022-12-12 07:25:30 +0100 |
|---|---|---|
| committer | Mia Herkt <mia@0x0.st> | 2022-12-12 07:35:05 +0100 |
| commit | a904922cbd6f6478d5e7fd773adc368b7652adaa (patch) | |
| tree | db217d71cd2806a11cc7351dde4641ed2dea7313 /0x0-vscan.service | |
| parent | da30c8f8ff0e2f23a974d95923273a25bc3a2a23 (diff) | |
Add support for ClamAV
Diffstat (limited to '0x0-vscan.service')
| -rw-r--r-- | 0x0-vscan.service | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/0x0-vscan.service b/0x0-vscan.service new file mode 100644 index 0000000..6a48b1c --- /dev/null +++ b/0x0-vscan.service @@ -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 |
