diff options
Diffstat (limited to 'linux/deb/02-fs-spring-boot-kamal/package/etc/systemd/system/fs-spring-boot-kamal.service')
| -rw-r--r-- | linux/deb/02-fs-spring-boot-kamal/package/etc/systemd/system/fs-spring-boot-kamal.service | 12 |
1 files changed, 12 insertions, 0 deletions
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 |
