Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F49451009
service.sh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
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
Mon, Sep 14, 08:50 (1 d, 11 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