summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--systemd/beauties.service14
-rw-r--r--systemd/confluence_psyched.service (renamed from systemd/confluence.service)0
-rw-r--r--systemd/confluence_tripsit.service18
-rw-r--r--systemd/cytube.service15
-rw-r--r--systemd/jira_tripsit.service19
-rw-r--r--systemd/mailcow.service14
-rw-r--r--systemd/matterbridge_libertacasa_irc.service14
-rw-r--r--systemd/matterbridge_libertacasa_multiproto.service14
-rw-r--r--systemd/matterbridge_tripsit.service14
9 files changed, 122 insertions, 0 deletions
diff --git a/systemd/beauties.service b/systemd/beauties.service
new file mode 100644
index 0000000..b694a7d
--- /dev/null
+++ b/systemd/beauties.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Beauties File Server
+After=network.target
+
+[Service]
+Type=simple
+User=beauties
+Group=beauties
+WorkingDirectory=/opt/beauties
+Restart=always
+ExecStart=/opt/beauties/beauties -b 192.168.0.120:8922 -d hugz.io -l /var/log/beauties/beauties -s /opt/beauties/data/storage -t /tmp/beauties
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd/confluence.service b/systemd/confluence_psyched.service
index 9a479e2..9a479e2 100644
--- a/systemd/confluence.service
+++ b/systemd/confluence_psyched.service
diff --git a/systemd/confluence_tripsit.service b/systemd/confluence_tripsit.service
new file mode 100644
index 0000000..6ba2e93
--- /dev/null
+++ b/systemd/confluence_tripsit.service
@@ -0,0 +1,18 @@
+[Unit]
+Description = TripSit Confluence Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+Environment=JAVA_HOME=/opt/jdk2
+PermissionsStartOnly=true
+User=confluence
+Group=atlassian
+ExecStart=/opt/confluence/bin/startup.sh
+ExecStop=/opt/confluence/bin/shutdown.sh
+TimeoutStartSec=120
+TimeoutStopSec=600
+PrivateTmp=true
+
+[Install]
+WantedBy = multi-user.target
diff --git a/systemd/cytube.service b/systemd/cytube.service
new file mode 100644
index 0000000..cfb507d
--- /dev/null
+++ b/systemd/cytube.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=CyTube
+After=network.target mysqld.service
+
+[Service]
+Type=simple
+User=cytube
+Group=cytube
+WorkingDirectory=/opt/cytube/sync/
+Environment=NODE_ENV=production
+ExecStart=/opt/cytube/.nvm/versions/node/v14.17.0/bin/node /opt/cytube/sync/index.js
+Restart=always
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd/jira_tripsit.service b/systemd/jira_tripsit.service
new file mode 100644
index 0000000..efef295
--- /dev/null
+++ b/systemd/jira_tripsit.service
@@ -0,0 +1,19 @@
+[Unit]
+Description = TripSit Jira Server
+After=syslog.target network.target
+
+[Service]
+Type=forking
+Environment=JIRA_HOME=/opt/atlassian/homes/jira
+Environment=JAVA_HOME=/opt/jdk
+PermissionsStartOnly=true
+User=jira
+Group=atlassian
+ExecStart=/opt/jira/bin/startup.sh
+ExecStop=/opt/jira/bin/shutdown.sh
+TimeoutStartSec=120
+TimeoutStopSec=600
+PrivateTmp=true
+
+[Install]
+WantedBy = multi-user.target
diff --git a/systemd/mailcow.service b/systemd/mailcow.service
new file mode 100644
index 0000000..af2d974
--- /dev/null
+++ b/systemd/mailcow.service
@@ -0,0 +1,14 @@
+[Unit]
+Description=Mailcow
+Requires=docker.service
+After=docker.service
+
+[Service]
+Type=oneshot
+RemainAfterExit=true
+WorkingDirectory=/opt/mailcow-dockerized
+ExecStart=/usr/local/bin/docker-compose up -d
+ExecStop=/usr/local/bin/docker-compose down
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd/matterbridge_libertacasa_irc.service b/systemd/matterbridge_libertacasa_irc.service
new file mode 100644
index 0000000..96218c0
--- /dev/null
+++ b/systemd/matterbridge_libertacasa_irc.service
@@ -0,0 +1,14 @@
+[Unit]
+After=network.target
+Description=Matterbridge (LibertaCasa)
+
+[Service]
+Type=simple
+User=matterbridge
+Group=matterbridge
+WorkingDirectory=/opt/matterbridge
+Restart=always
+ExecStart=/opt/matterbridge/matterbridge -conf libertacasa/matterbridge-irc.toml
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd/matterbridge_libertacasa_multiproto.service b/systemd/matterbridge_libertacasa_multiproto.service
new file mode 100644
index 0000000..19493e3
--- /dev/null
+++ b/systemd/matterbridge_libertacasa_multiproto.service
@@ -0,0 +1,14 @@
+[Unit]
+After=network.target
+Description=Matterbridge (LibertaCasa)
+
+[Service]
+Type=simple
+User=matterbridge
+Group=matterbridge
+WorkingDirectory=/opt/matterbridge
+Restart=always
+ExecStart=/opt/matterbridge/matterbridge -conf libertacasa/matterbridge-general.toml
+
+[Install]
+WantedBy=multi-user.target
diff --git a/systemd/matterbridge_tripsit.service b/systemd/matterbridge_tripsit.service
new file mode 100644
index 0000000..dd11248
--- /dev/null
+++ b/systemd/matterbridge_tripsit.service
@@ -0,0 +1,14 @@
+[Unit]
+After=network.target
+Description=Matterbridge (TripSit)
+
+[Service]
+Type=simple
+User=matterbridge
+Group=matterbridge
+WorkingDirectory=/opt/matterbridge
+Restart=always
+ExecStart=/opt/matterbridge/matterbridge -conf tripsit/matterbridge.toml
+
+[Install]
+WantedBy=multi-user.target