Merge pull request #26 from 0xOzgur/v1.4.21.1

service edit for SIGINT
This commit is contained in:
0xOzgur 2024-10-12 13:52:24 +03:00 committed by GitHub
commit c8ea7a9e57
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 6 additions and 3 deletions

View File

@ -145,9 +145,6 @@ else
echo "ceremonyclient.service file does not exist. No action taken."
fi
CPU_THREADS=$(nproc)
CPU_QUOTA=$(( CPU_THREADS * 90 ))
sudo tee /lib/systemd/system/ceremonyclient.service > /dev/null <<EOF
[Unit]
Description=Ceremony Client Go App Service
@ -158,6 +155,8 @@ Restart=always
RestartSec=5s
WorkingDirectory=$NODE_PATH
ExecStart=$EXEC_START
KillSignal=SIGINT
TimeoutStopSec=30s
[Install]
WantedBy=multi-user.target

View File

@ -162,6 +162,8 @@ Restart=always
RestartSec=5s
WorkingDirectory=$NODE_PATH
ExecStart=$EXEC_START
KillSignal=SIGINT
TimeoutStopSec=30s
[Install]
WantedBy=multi-user.target

View File

@ -83,6 +83,8 @@ Restart=always
RestartSec=5s
WorkingDirectory=$NODE_PATH
ExecStart=$EXEC_START
KillSignal=SIGINT
TimeoutStopSec=30s
[Install]
WantedBy=multi-user.target