Skip to content

Commit

Permalink
explicitly set name for main JAR file
Browse files Browse the repository at this point in the history
  • Loading branch information
thestinger committed Jan 6, 2025
1 parent 04c5b7c commit fafa0c7
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,8 @@ java {
}

tasks.jar {
archiveBaseName.set("attestation-server")

manifest {
attributes(
"Main-Class" to "app.attestation.server.AttestationServer",
Expand Down
2 changes: 1 addition & 1 deletion systemd/system/attestation.service
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Description=Attestation server

[Service]
CapabilityBoundingSet=
ExecStart=/usr/bin/java -jar /opt/attestation/deploy/attestation.app.jar
ExecStart=/usr/bin/java -jar /opt/attestation/deploy/attestation-server.jar
IPAddressDeny=any
IPAddressAllow=localhost
LockPersonality=true
Expand Down

0 comments on commit fafa0c7

Please sign in to comment.