boop.icu/services/boop-prune.service

24 lines
398 B
SYSTEMD
Raw Permalink Normal View History

2022-12-15 12:25:45 +02:00
[Unit]
Description=Prune 0x0 files
After=remote-fs.target
[Service]
Type=oneshot
User=boop
Group=http
WorkingDirectory=/opt/boop
BindPaths=/opt/boop
Environment=FLASK_APP=fhost
ExecStart=/opt/boop/.local/bin/flask prune
ProtectProc=noaccess
ProtectSystem=strict
ProtectHome=tmpfs
PrivateTmp=true
PrivateUsers=true
ProtectKernelLogs=true
LockPersonality=true
[Install]
WantedBy=multi-user.target