[mirror of https://git.0x0.st/mia/0x0] No-bullshit file hosting and URL shortening service https://0x0.st
1[Unit]
2Description=Scan 0x0 files with ClamAV
3After=remote-fs.target clamd.service
4
5[Service]
6Type=oneshot
7User=nullptr
8WorkingDirectory=/path/to/0x0
9BindPaths=/path/to/0x0
10
11Environment=FLASK_APP=fhost
12ExecStart=/usr/bin/flask vscan
13ProtectProc=noaccess
14ProtectSystem=strict
15ProtectHome=tmpfs
16PrivateTmp=true
17PrivateUsers=true
18ProtectKernelLogs=true
19LockPersonality=true
20
21[Install]
22WantedBy=multi-user.target