compose/portainer/portainer.service

13 lines
248 B
SYSTEMD
Raw Permalink Normal View History

[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