Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How to configure WatchDog in systemd? #1654

Open
tpsaitwal opened this issue Nov 25, 2024 · 1 comment
Open

How to configure WatchDog in systemd? #1654

tpsaitwal opened this issue Nov 25, 2024 · 1 comment
Labels
debian rpm universal Zip, tar.gz, tgz and bash issues

Comments

@tpsaitwal
Copy link

  • What sbt version 1.9.2
  • What is your build system (e.g. Ubuntu, MacOS, Windows, Debian ) Linux
  • What package are you building (e.g. docker, rpm, ...) rpm
  • What version has your build tool (find out with e.g. rpm --version) 2.3.21
  • What is your target system (e.g. Ubuntu 16.04, CentOS 7) Linux

I want to setup WatchDog for my application. As per documentation WatchDogSec can be configured to check ping for active service instance and if not it will restart.
I am not able to find out configuration of anything we can replace in LinuxPlugin or RpmPlugin or SystemdPlugin to enable WatchDogSec. Is there any such option availavle?

@muuki88 muuki88 added debian rpm universal Zip, tar.gz, tgz and bash issues labels Nov 25, 2024
@muuki88
Copy link
Contributor

muuki88 commented Nov 25, 2024

Hi,

I assume this feature is simply missing. Here's the systemd template: https://github.com/sbt/sbt-native-packager/blob/main/src%2Fmain%2Fresources%2Fcom%2Ftypesafe%2Fsbt%2Fpackager%2Farchetypes%2Fsystemloader%2Fsystemd%2Fstart-template

You would need to add it there.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
debian rpm universal Zip, tar.gz, tgz and bash issues
Projects
None yet
Development

No branches or pull requests

2 participants