portal.service 284 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13
[Unit]
Description=CIRCLE portal
After=network.target

[Service]
User=cloud
Group=cloud
WorkingDirectory=/home/cloud/circle/circle
ExecStart=/bin/bash -c "source /etc/profile; workon circle; exec ./manage.py runserver '[::]:8080'"
Restart=always

[Install]
WantedBy=multi-user.target