Add systemd service files for portainer and yacht
This commit is contained in:
parent
b11288dc1f
commit
80029a1bce
13
portainer/portainer.service
Normal file
13
portainer/portainer.service
Normal file
@ -0,0 +1,13 @@
|
||||
[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
|
13
yacht/yacht.service
Normal file
13
yacht/yacht.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Yacht container deployment service
|
||||
Type=simple
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/docker/compose/yacht
|
||||
ExecStart=docker-compose up
|
||||
ExecStop=docker-compose down
|
||||
Restart=on-failure
|
||||
RestartSec=5s
|
||||
|
||||
[Install]
|
||||
WantedBy=default.target
|
Loading…
Reference in New Issue
Block a user