From 69dfeab1255034e8019c576bee9fcaef2cef4e0e Mon Sep 17 00:00:00 2001 From: limepotato Date: Sun, 15 Sep 2024 20:11:37 -0600 Subject: [PATCH] add systemd service --- nelle-observer-api.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 nelle-observer-api.service diff --git a/nelle-observer-api.service b/nelle-observer-api.service new file mode 100644 index 0000000..1ea84b8 --- /dev/null +++ b/nelle-observer-api.service @@ -0,0 +1,12 @@ +[Unit] +Description=nelle.observer API Daemon + +[Service] +Type=simple +ExecStart=/usr/bin/java -jar personalSiteAPI-all.jar +WorkingDirectory={PathTo}/nelle-observer/backend/build/libs/ +SyslogIdentifier=personalSiteAPI +Restart=always + +[Install] +WantedBy=multi-user.target \ No newline at end of file