drop.chapril.org-tools/cleaning/drop-remove-expired-files.s...

14 lines
240 B
SYSTEMD

[Unit]
Description=drop
After=network.target
[Service]
Type=simple
User=app
WorkingDirectory=/srv/drop/www
ExecStart=python3 /srv/drop.chapril.org/tools/cleaning/remove_expired_files.py
Restart=always
[Install]
WantedBy=multi-user.target