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

16 lines
400 B
SYSTEMD
Raw Permalink Normal View History

2020-12-31 11:18:34 +00:00
[Unit]
Description=Matrix WhatsApp Bridge
After=network.target
Requires=postgresql.service
2020-12-31 11:18:34 +00:00
[Service]
User=mautrix-whatsapp
Group=mautrix-whatsapp
ExecStart=/opt/mautrix-whatsapp/mautrix-whatsapp --config /opt/mautrix-whatsapp/config.yaml --registration /opt/mautrix-whatsapp/registration.yaml
WorkingDirectory=/opt/mautrix-whatsapp
Restart=always
RestartSec=10
2020-12-31 11:18:34 +00:00
[Install]
WantedBy=multi-user.target