add whisper
This commit is contained in:
16
whisper/systemd/whisper-transcribe.service
Normal file
16
whisper/systemd/whisper-transcribe.service
Normal file
@@ -0,0 +1,16 @@
|
||||
[Unit]
|
||||
Description=Whisper transcription service (Speaches / faster-whisper)
|
||||
Wants=docker.service network-online.target
|
||||
After=docker.service network-online.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
WorkingDirectory=/opt/whisper
|
||||
ExecStart=/usr/bin/docker compose --file /opt/whisper/docker-compose.yml up
|
||||
ExecStop=/usr/bin/docker compose --file /opt/whisper/docker-compose.yml down
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
TimeoutStartSec=600
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user