2020-12-31 11:18:34 +00:00
|
|
|
[Unit]
|
|
|
|
Description=Matrix WhatsApp Bridge
|
|
|
|
After=network.target
|
2021-02-12 12:28:52 +00:00
|
|
|
Requires=postgresql.service
|
2020-12-31 11:18:34 +00:00
|
|
|
|
|
|
|
[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
|
2021-04-02 06:05:33 +00:00
|
|
|
Restart=always
|
2020-12-31 11:18:34 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|