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
commit75a8d470bb6a45a743f3c020c4e0d6e5e4b74dcb (patch)
tree25172ef7cbe1367f50353c6e04e7e08afb0e0791
parentcf7bbdac90e289674da01a1f37eb294fb8fd9ac2 (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--misc/ogadmserver.service13
1 files changed, 13 insertions, 0 deletions
diff --git a/misc/ogadmserver.service b/misc/ogadmserver.service
new file mode 100644
index 0000000..92dac09
--- /dev/null
+++ b/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