RHBK サービスを停止するとステータスが failed と表示される
Issue
- RHBK を systemd サービスとして設定しました。サービスの開始と停止は正常に機能していますが、サービスが停止されると、ステータスが
inactiveではなく常にfailedになります。
# systemctl status xxxxxx.service
× xxxxx.service - xxxxx.service
Loaded: loaded (/etc/systemd/system/xxxxx.service; enabled; preset: disabled)
Drop-In: /usr/lib/systemd/system/service.d
└─10-timeout-abort.conf
Active: failed (Result: exit-code) since xxxxxxx; 4s ago
Duration: 10.016s
Process: xxxxxx ExecStart=/path/to/bin/kc.sh start (code=exited, status=143)
Process: xxxxxx ExecStop=/bin/kill -SIGTERM $PID (code=exited, status=0/SUCCESS)
Environment
- Red Hat Build of Keycloak (RHBK)
- 22.x+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.