aboutsummaryrefslogtreecommitdiffstats
path: root/cynagoauth.service
diff options
context:
space:
mode:
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
+