0x101010/0x0-prune.service

23 lines
376 B
SYSTEMD
Raw Normal View History

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