2022-11-29 17:23:30 +01:00
|
|
|
[Unit]
|
|
|
|
Description=Prune 0x0 files
|
|
|
|
After=remote-fs.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=oneshot
|
2023-01-28 13:29:56 +01:00
|
|
|
User=0x0
|
2023-01-28 10:42:52 +01:00
|
|
|
WorkingDirectory=/srv/0x0
|
|
|
|
BindPaths=/srv/0x0
|
2022-11-29 17:23:30 +01:00
|
|
|
|
|
|
|
Environment=FLASK_APP=fhost
|
2023-01-28 13:29:56 +01:00
|
|
|
ExecStart=/srv/0x0/venv/bin/flask prune
|
2022-11-29 17:23:30 +01:00
|
|
|
ProtectProc=noaccess
|
|
|
|
ProtectSystem=strict
|
|
|
|
ProtectHome=tmpfs
|
|
|
|
PrivateTmp=true
|
|
|
|
PrivateUsers=true
|
|
|
|
ProtectKernelLogs=true
|
|
|
|
LockPersonality=true
|
|
|
|
|
|
|
|
[Install]
|
2023-01-28 13:29:56 +01:00
|
|
|
WantedBy=multi-user.target
|