summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2020-06-16 10:57:41 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2020-06-16 11:48:54 +0200
commit7e71f1fe5033bc6a84c34577c682ee1f4ac3f4a6 (patch)
treebdbe60673d24a93f2b74599a4546871165a13704
parent1d1e06d319e3ba52619d4c7d7f3f790e675439d7 (diff)
#981 Add ogAdmServer own systemd unit file
This commit is a step in the direction to remove the old unit file. It also allow us to move ogAdmServer to its own repo.
-rw-r--r--admin/Sources/Services/ogAdmServer/misc/ogadmserver.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/admin/Sources/Services/ogAdmServer/misc/ogadmserver.service b/admin/Sources/Services/ogAdmServer/misc/ogadmserver.service
new file mode 100644
index 00000000..92dac09a
--- /dev/null
+++ b/admin/Sources/Services/ogAdmServer/misc/ogadmserver.service
@@ -0,0 +1,13 @@
+# ogAdmServer systemd service file
+
+[Unit]
+Documentation=https://opengnsys.es/trac/wiki/En%%3ADocumentacionUsuario
+Description=OpenGnsys server
+Requires=mysql.service
+After=mysql.service
+
+[Install]
+WantedBy=multi-user.target
+
+[Service]
+ExecStart=/opt/opengnsys/sbin/ogAdmServer -f /opt/opengnsys/etc/ogAdmServer.cfg