bundles: add Requires=postgresql.service to some services which require postgresql
All checks were successful
bundlewrap/pipeline/head This commit looks good
All checks were successful
bundlewrap/pipeline/head This commit looks good
This commit is contained in:
parent
493d7957fd
commit
638e37c05f
10 changed files with 13 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Matrix Telegram Bridge
|
Description=Matrix Telegram Bridge
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=mautrix-telegram
|
User=mautrix-telegram
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Matrix WhatsApp Bridge
|
Description=Matrix WhatsApp Bridge
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=mautrix-whatsapp
|
User=mautrix-whatsapp
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=mx-puppet-discord
|
Description=mx-puppet-discord
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=mx-puppet-discord
|
User=mx-puppet-discord
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=PowerDNS-Admin
|
Description=PowerDNS-Admin
|
||||||
After=network.target postgresql.service
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=powerdnsadmin
|
User=powerdnsadmin
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=pretalx clearsessions
|
Description=pretalx clearsessions
|
||||||
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=pretalx
|
User=pretalx
|
||||||
|
|
|
@ -1,5 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=pretalx runperiodic
|
Description=pretalx runperiodic
|
||||||
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=pretalx
|
User=pretalx
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=pretalx web service
|
Description=pretalx web service
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=pretalx
|
User=pretalx
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=pretalx background worker
|
Description=pretalx background worker
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=pretalx
|
User=pretalx
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Travelynx Railway Checkin Service - Worker
|
Description=Travelynx Railway Checkin Service - Worker
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
ExecStart=/usr/bin/perl index.pl worker
|
ExecStart=/usr/bin/perl index.pl worker
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Travelynx Railway Checkin Service
|
Description=Travelynx Railway Checkin Service
|
||||||
After=network.target
|
After=network.target
|
||||||
|
Requires=postgresql.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
Loading…
Reference in a new issue