Delete temp directory upon completion

This commit is contained in:
Kumi 2022-09-10 04:54:33 +00:00
parent 2b470cedb5
commit d680c4efb1
Signed by: kumi
GPG key ID: ECBCC9082395383F

View file

@ -10,3 +10,4 @@ Group=www-data
WorkingDirectory=/opt/moodle-import-worker/
ExecStart=/usr/bin/env python3 /opt/moodle-import-worker/worker.py
ExecStartPost=/bin/sh -c "/bin/rm -r /var/www/html/moodledata/temp/backup/*"