Delete temp directory upon completion
This commit is contained in:
parent
2b470cedb5
commit
d680c4efb1
1 changed files with 1 additions and 0 deletions
|
@ -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/*"
|
Loading…
Reference in a new issue