compose/portainer/portainer.service

13 lines
248 B
Desktop File

[Unit]
Description=Portainer container deployment service
Type=simple
[Service]
WorkingDirectory=/docker/compose/portainer
ExecStart=docker-compose up
ExecStop=docker-compose down
Restart=on-failure
RestartSec=5s
[Install]
WantedBy=default.target