-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update timeout to 15m for network service
- Loading branch information
GitExample
committed
Oct 26, 2021
1 parent
d6ae6b5
commit 7bbb43b
Showing
3 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,7 @@ | |
PKG_NAME=oci-cn-auth | ||
PKG_DESCRIPTION="OCI cluster network authentication tool" | ||
PKG_VERSION=0.2.12 | ||
PKG_RELEASE=0 | ||
PKG_RELEASE=1 | ||
PKG_MAINTAINER="Marcin Zablocki \<[email protected]\>" | ||
PKG_ARCH=all | ||
PKG_ARCH_RPM=noarch | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,12 @@ | ||
#systemctl=$(which systemctl) | ||
#${systemctl} stop oci-cn-auth.service | ||
#${systemctl} stop oci-cn-auth.timer | ||
if [ ! -f /etc/systemd/system/network.service.d/override.conf ] ; then | ||
mkdir -p /etc/systemd/system/network.service.d/ | ||
cat <<EOF >> /etc/systemd/system/network.service.d/override.conf | ||
[Service] | ||
Type=forking | ||
Restart=no | ||
TimeoutSec=15min | ||
EOF | ||
fi | ||
|
||
systemctl=$(which systemctl) | ||
${systemctl} daemon-reload |