Skip to content
Permalink
Browse files

config files and service files for mysql, sqlite and postgresql

  • Loading branch information
tpokorra committed Nov 23, 2019
1 parent 2fc2eea commit 37bb8a97ff9d1bb5eb1f256c5907932d46a3ec81
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<project name="OpenPetra-userconfig">
<property name="DBMS.Type" value="OPENPETRA_RDBMSType"/>
<property name="DBMS.DBName" value="OPENPETRA_DBNAME"/>
<property name="DBMS.UserName" value="OPENPETRA_DBUSER"/>
<property name="DBMS.Password" value="OPENPETRA_DBPWD"/>
<property name="Server.DebugLevel" value="0"/>
</project>

This file was deleted.

@@ -4,9 +4,9 @@ After=mariadb.service
Wants=mariadb.service

[Service]
User=openpetra
ExecStart=/usr/bin/openpetra-server start
ExecStop=/usr/bin/openpetra-server stop
User=OPENPETRA_USER
ExecStart=OPENPETRA_SERVER_BIN start
ExecStop=OPENPETRA_SERVER_BIN stop
RestartSec=5

[Install]
@@ -0,0 +1,9 @@
<?xml version="1.0"?>
<project name="OpenPetra-userconfig">
<property name="DBMS.Type" value="OPENPETRA_RDBMSType"/>
<property name="DBMS.DBName" value="OPENPETRA_DBNAME"/>
<property name="DBMS.UserName" value="OPENPETRA_DBUSER"/>
<property name="DBMS.Password" value="OPENPETRA_DBPWD"/>
<property name="Server.DebugLevel" value="0"/>
</project>

This file was deleted.

@@ -0,0 +1,13 @@
[Unit]
Description=OpenPetra Server
After=postgresql.service
Wants=postgresql.service

[Service]
User=OPENPETRA_USER
ExecStart=OPENPETRA_SERVER_BIN start
ExecStop=OPENPETRA_SERVER_BIN stop
RestartSec=5

[Install]
WantedBy=multi-user.target

This file was deleted.

@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<project name="OpenPetra-userconfig">
<property name="DBMS.Type" value="OPENPETRA_RDBMSType"/>
<property name="DBMS.UserName" value=""/>
<property name="Server.DebugLevel" value="0"/>
</project>

@@ -0,0 +1,11 @@
[Unit]
Description=OpenPetra Server

[Service]
User=OPENPETRA_USER
ExecStart=OPENPETRA_SERVER_BIN start
ExecStop=OPENPETRA_SERVER_BIN stop
RestartSec=5

[Install]
WantedBy=multi-user.target

0 comments on commit 37bb8a9

Please sign in to comment.
You can’t perform that action at this time.