Migrate MVLog worker to webserver-local deployment
This commit is contained in:
parent
8fc2e3b4c9
commit
85c4333e77
6 changed files with 126 additions and 19 deletions
13
deploy/systemd/mvlog-worker.service
Normal file
13
deploy/systemd/mvlog-worker.service
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
[Unit]
|
||||
Description=MVLog movmaker worker (webserver local)
|
||||
Wants=network-online.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/srv/mvlog/app
|
||||
ExecStart=/srv/mvlog/app/mvlog_worker.py --local --remote-root /var/www/html --work-dir /srv/mvlog/work
|
||||
User=hbrain
|
||||
Group=www-data
|
||||
UMask=0002
|
||||
TimeoutStartSec=12h
|
||||
Loading…
Add table
Add a link
Reference in a new issue