Skip to content

Instantly share code, notes, and snippets.

@ato
Last active August 10, 2021 02:48
Show Gist options
  • Save ato/69fc6952ce57d329a402a6f9f128f6e1 to your computer and use it in GitHub Desktop.
Save ato/69fc6952ce57d329a402a6f9f128f6e1 to your computer and use it in GitHub Desktop.
[Unit]
After=docker.service
Requires=docker.service
[Service]
ExecStart=/opt/wooey-raintale/venv/bin/celery -A raintale_with_wooey worker -c 1 --beat -l info
User=dsaui
WorkingDirectory=/opt/wooey-raintale/raintale_with_wooey
[Install]
WantedBy=multi-user.target
[Unit]
After=raintale-celery.service
Requires=raintale-celery.service
[Service]
ExecStart=/opt/wooey-raintale/venv/bin/python manage.py runserver 127.0.0.1:8000
User=dsaui
WorkingDirectory=/opt/wooey-raintale/raintale_with_wooey
[Install]
WantedBy=multi-user.target
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment