From 161707cc2eab1d76a15684ef105bf1e2ecca154d Mon Sep 17 00:00:00 2001 From: Kamal Wickramanayake Date: Sat, 23 May 2026 16:07:26 +0530 Subject: Added a Spring Boot app packaged deb file creation sample project to linux/deb directory --- .../package/etc/systemd/system/fs-spring-boot-kamal.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 linux/deb/02-fs-spring-boot-kamal/package/etc/systemd/system/fs-spring-boot-kamal.service (limited to 'linux/deb/02-fs-spring-boot-kamal/package/etc/systemd') diff --git a/linux/deb/02-fs-spring-boot-kamal/package/etc/systemd/system/fs-spring-boot-kamal.service b/linux/deb/02-fs-spring-boot-kamal/package/etc/systemd/system/fs-spring-boot-kamal.service new file mode 100644 index 0000000..58a592c --- /dev/null +++ b/linux/deb/02-fs-spring-boot-kamal/package/etc/systemd/system/fs-spring-boot-kamal.service @@ -0,0 +1,12 @@ +[Unit] +Description=fs-spring-boot-kamal + +[Service] +User=fs-spring-boot-kamal +EnvironmentFile=/etc/fs-spring-boot-kamal/environment.env +ExecStart=/usr/bin/java -Dspring.config.import=optional:file:/etc/fs-spring-boot-kamal/application.yaml -jar /opt/fs-spring-boot-kamal/app/fs-spring-boot-kamal.jar +Restart=always +RestartSec=30 + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3