initial commit

This commit is contained in:
Shane Peters
2019-01-11 10:22:04 -05:00
commit ad2c8cb247
5 changed files with 146 additions and 0 deletions

12
hivealert.service Normal file
View File

@@ -0,0 +1,12 @@
[Unit]
Description=Hive Alert
After=network.target
[Service]
Type=simple
User=hivealert
WorkingDirectory=/opt/hivealert
ExecStart=/opt/hivealert/.local/bin/gunicorn -b 0.0.0.0:5000 --access-logfile /opt/hivealert/access.log --chdir /opt/hivealert/hivealert hivealert:app
[Install]
WantedBy=multi-user.target