bundlewrap/bundles/mautrix-whatsapp/files/mautrix-whatsapp.service

15 lines
408 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=always
RestartSec=10
[Install]
WantedBy=multi-user.target