Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
ai
sso
Commits
87ea65eb
Commit
87ea65eb
authored
Oct 15, 2016
by
godog
Browse files
debian: ship systemd service file
parent
cb308bf6
Changes
1
Hide whitespace changes
Inline
Side-by-side
debian/ai-sso-server.service
0 → 100644
View file @
87ea65eb
[Unit]
Description
=
AI SSO Server
After
=
network.target
[Service]
PIDFile
=
/var/run/sso/sso_server.pid
User
=
ai-sso
Group
=
ai-sso
WorkingDirectory
=
/var/run/sso
Environment
=
SSO_PORT=5002
ExecStart
=
/usr/bin/gunicorn
\
--log-config=/etc/sso/logging.conf
\
--bind 0.0.0.0:${SSO_PORT}
\
--worker-class gevent
\
--pid /var/run/sso/sso_server.pid
\
--name ai-sso-server
\
sso_server.wsgi:app
ExecReload=/bin/kill -s HUP $MAINPID
ExecStop=/bin/kill -s TERM $MAINPID
PrivateTmp=true
Restart=on-failure
[Install]
WantedBy=multi-user.target
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment