tmate/tmate.service

12 lines
258 B
SYSTEMD
Raw Normal View History

2021-03-04 13:16:53 +01:00
[Unit]
Description=tmate server
After=docker.service
[Service]
Restart=always
ExecStart=/usr/bin/docker-compose -f /etc/tmate/docker-compose.yml up
ExecStop=/usr/bin/docker-compose -f /etc/tmate/docker-compose.yml stop
[Install]
WantedBy=multi-user.target