docker-ci-runner: fix stop hanging for 120s
This commit is contained in:
parent
029be00eab
commit
24587194e9
|
@ -102,5 +102,10 @@ in
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
# Fix container not stopping correctly and holding the system 120s upon
|
||||||
|
# shutdown / reboot
|
||||||
|
systemd.services.docker-drone-exec-runner.preStop = ''
|
||||||
|
docker stop drone-exec-runner
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue