summaryrefslogtreecommitdiffstats
path: root/cynagoauth.service
diff options
context:
space:
mode:
authorJose Bollo <jose.bollo@iot.bzh>2019-12-10 09:32:00 +0100
committerJosé Bollo <jose.bollo@iot.bzh>2019-12-13 14:58:00 +0100
commitf1bcc5cd93e050b9147d56c53c8e7fbe36298c55 (patch)
tree96919959aa6a8251fdaadc0e2b7460ee254f0686 /cynagoauth.service
Initial commit
Provide a simple authorization server that delivers token using "client credential" flow, based on the Smack label. Bug-AGL: SPEC-2968 Change-Id: I941c96b06a6de3b2b38875c12ada42621593791c Signed-off-by: José Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'cynagoauth.service')
-rw-r--r--cynagoauth.service15
1 files changed, 15 insertions, 0 deletions
diff --git a/cynagoauth.service b/cynagoauth.service
new file mode 100644
index 0000000..cd84afb
--- /dev/null
+++ b/cynagoauth.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Authorization server OAuth2
+BindsTo=cynagora.service
+
+[Service]
+#User=daemon
+#Group=nobody
+#SupplementaryGroups=cynagora
+ExecStart=/usr/bin/cynagoauth-server
+Restart=on-failure
+RestartSec=5
+
+[Install]
+WantedBy=multi-user.target
+