13 lines
248 B
SYSTEMD
13 lines
248 B
SYSTEMD
|
[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
|