Initial backup import
This commit is contained in:
14
etc/systemd/system/start-containers.service
Executable file
14
etc/systemd/system/start-containers.service
Executable file
@@ -0,0 +1,14 @@
|
||||
#/etc/systemd/system/start-containers.service
|
||||
|
||||
[Unit]
|
||||
Description=Update and start containers after Docker starts
|
||||
Wants=network-online.target
|
||||
After=docker.service network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/root/docker/start.sh
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user