18 lines
367 B
SYSTEMD
18 lines
367 B
SYSTEMD
[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
|
|
StartLimitIntervalSec=60
|
|
StartLimitBurst=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
|