sysfiles/etc/systemd/system/mumble-dc.service

16 lines
341 B
SYSTEMD
Raw Permalink Normal View History

2022-12-10 01:00:36 +01:00
[Unit]
Description=Mumble (Compose Service)
Requires=docker.service
After=docker.service
[Service]
WorkingDirectory=/opt/mumble
ExecStart=/usr/bin/docker-compose --project-name mumble up
ExecStop=/usr/bin/docker-compose --project-name mumble down
TimeoutStartSec=0
Restart=on-failure
StartLimitBurst=3
[Install]
WantedBy=multi-user.target