dotfiles/lt-docker-app.service
2021-03-19 15:40:59 +01:00

19 lines
362 B
Desktop File

# /etc/systemd/system/bla-docker-app.service
[Unit]
Description=Bla Docker Service
Requires=docker.service
After=docker.service
[Service]
Type=oneshot
RemainAfterExit=yes
WorkingDirectory=/home/tim/projects/devdocker
ExecStart=/usr/bin/docker-compose up -d
ExecStop=/usr/bin/docker-compose down
TimeoutStartSec=0
User=tim
[Install]
WantedBy=multi-user.target