14 lines
370 B
SYSTEMD
14 lines
370 B
SYSTEMD
|
[Unit]
|
||
|
Description=Matrix WhatsApp Bridge
|
||
|
After=network.target
|
||
|
|
||
|
[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
|