dotfiles/docs/bla-docker-app.service

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