POC Campus Condorcet : services systemd

This commit is contained in:
Paul Marillonnet 2017-05-11 15:02:53 +02:00
parent a3e14ad8e4
commit 5ef2caffd6
4 changed files with 48 additions and 0 deletions

View File

@ -0,0 +1,12 @@
[Unit]
Description=POC authentic Identity Provider
After=network.target
[Service]
User=root
Group=root
WorkingDirectory=/home/pmarillonnet/devel/authentic.deployed
ExecStart=/usr/bin/gunicorn authentic2.wsgi --bind unix:/var/run/authentic2/authentic2.sock
[Install]
WantedBy=default.target

View File

@ -0,0 +1,12 @@
[Unit]
Description=POC Passerelle connectors
After=network.target
[Service]
User=pmarillonnet
Group=pmarillonnet
WorkingDirectory=/home/pmarillonnet/Documents/passerelle
ExecStart=/usr/bin/gunicorn passerelle.wsgi --bind unix:/var/run/passerelle/passerelle.sock
[Install]
WantedBy=default.target

12
systemd/sp_sso.service Normal file
View File

@ -0,0 +1,12 @@
[Unit]
Description=POC Service Provider
After=network.target
[Service]
User=pmarillonnet
Group=pmarillonnet
WorkingDirectory=/home/pmarillonnet/Documents/paul-synchro/django/sp_sso/
ExecStart=/usr/bin/gunicorn sp_sso.wsgi --bind unix:/var/run/sp_sso/sp_sso.sock
[Install]
WantedBy=default.target

View File

@ -0,0 +1,12 @@
[Unit]
Description=POC w.c.s. form service
After=network.target
[Service]
User=root
Group=root
WorkingDirectory=/home/pmarillonnet/devel/wcs
ExecStart=/home/pmarillonnet/devel/wcs/wcsctl.py start
[Install]
WantedBy=default.target