mirror of
https://github.com/varun-r-mallya/server-scripts.git
synced 2025-12-31 20:16:25 +00:00
13
control/containers-up.service
Normal file
13
control/containers-up.service
Normal file
@ -0,0 +1,13 @@
|
||||
[Unit]
|
||||
Description=Run services.sh to run Docker compose on boot
|
||||
After=network-online.target docker.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/home/xeon/control/services.sh
|
||||
RemainAfterExit=true
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
||||
Reference in New Issue
Block a user