Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F56329924
service.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
583 B
Referenced Files
None
Subscribers
None
service.sh
View Options
#!/usr/bin/env bash
# -------------------------------------------------------------
# NetBox :: Service starter
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Project: Nasqueron
# License: Trivial work, not eligible to copyright
# -------------------------------------------------------------
set
-e
SERVICE_ROOT
=
/srv/netbox
APP_ROOT
=
$SERVICE_ROOT
/netbox
source
$SERVICE_ROOT
/venv/bin/activate
cd
$APP_ROOT
/netbox
gunicorn
--pid
$PID_FILE
--pythonpath
$APP_ROOT
-b
"127.0.0.1:
$APP_PORT
"
--config
$SERVICE_ROOT
/gunicorn.py
netbox.wsgi
File Metadata
Details
Attached
Mime Type
text/x-shellscript
Expires
Sat, Nov 7, 02:44 (1 d, 23 h)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3943169
Default Alt Text
service.sh (583 B)
Attached To
Mode
rOPS Nasqueron Operations
Attached
Detach File
Event Timeline
Log In to Comment