bundlewrap/bundles/mautrix-whatsapp/files/mautrix-whatsapp.service
Franzi 638e37c05f
All checks were successful
bundlewrap/pipeline/head This commit looks good
bundles: add Requires=postgresql.service to some services which require postgresql
2021-02-12 13:28:52 +01:00

15 lines
398 B
Desktop File

[Unit]
Description=Matrix WhatsApp Bridge
After=network.target
Requires=postgresql.service
[Service]
User=mautrix-whatsapp
Group=mautrix-whatsapp
ExecStart=/opt/mautrix-whatsapp/src/mautrix-whatsapp --config /opt/mautrix-whatsapp/config.yaml --registration /opt/mautrix-whatsapp/registration.yaml
WorkingDirectory=/opt/mautrix-whatsapp/src
Restart=on-failure
[Install]
WantedBy=multi-user.target