aboutsummaryrefslogtreecommitdiffstats
path: root/systemd/wa-daemon@.service
blob: 4568ad0bd2f1045ee3fcb831da2281e686536c44 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
[Unit]
Description=wa-cli: WhatsApp Web session (account %i)
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
ExecStart=%h/.local/bin/wa daemon start --foreground --account %i
# If WhatsApp Web disconnects or Chrome dies, the daemon exits with 1 and is restarted.
Restart=on-failure
RestartSec=15
TimeoutStopSec=30

[Install]
WantedBy=default.target