[Unit]
Description=MVLog movmaker worker (webserver local)
Wants=network-online.target
After=network-online.target

[Service]
Type=oneshot
WorkingDirectory=/srv/mvlog/app
Environment=TMPDIR=/srv/mvlog/work/tmp
Environment=TEMP=/srv/mvlog/work/tmp
Environment=TMP=/srv/mvlog/work/tmp
Environment=MOVMAKER_TMPDIR=/srv/mvlog/work/tmp
ExecStart=/srv/mvlog/app/mvlog_worker.py --local --remote-root /var/www/html --work-dir /srv/mvlog/work --tmp-dir /srv/mvlog/work/tmp
User=hbrain
Group=www-data
UMask=0002
TimeoutStartSec=12h
