summarylogtreecommitdiffstats
path: root/wyoming-piper.service
blob: c68959e9058a2d2358a4c6e60b52466e73b3c778 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
[Unit]
Description=Wyoming Server for Piper
Wants=network.target

[Service]
Restart=on-failure
User=wyoming-piper
Group=wyoming-piper
DynamicUser=true
StateDirectory=wyoming-piper
WorkingDirectory=/var/lib/wyoming-piper

EnvironmentFile=/etc/conf.d/wyoming-piper
ExecStart=python3 -m wyoming_piper \
    --piper '/usr/bin/piper-tts' \
    --uri $URI \
    --voice $VOICE \
    --data-dir /var/lib/wyoming-piper/data \
    --download-dir /var/lib/wyoming-piper/data

[Install]
WantedBy=multi-user.target