Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
sso
Project overview
Project overview
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
8
Issues
8
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
ai
sso
Commits
ad06db74
Commit
ad06db74
authored
Oct 15, 2016
by
godog
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
debian: ship systemd service file
parent
fcb7aaee
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
0 deletions
+24
-0
debian/ai-sso-server.service
debian/ai-sso-server.service
+24
-0
No files found.
debian/ai-sso-server.service
0 → 100644
View file @
ad06db74
[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
Markdown
is supported
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