Properly handle default config file when running as systemd/sysv daemon
This commit is contained in:
11
build.gradle
11
build.gradle
@@ -115,6 +115,17 @@ springBoot {
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
processResources {
|
||||||
|
doLast {
|
||||||
|
copy {
|
||||||
|
from('build/resources/main/application.yaml') {
|
||||||
|
rename 'application.yaml', 'mxisd.yaml'
|
||||||
|
}
|
||||||
|
into 'build/resources/main'
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
task buildDeb(dependsOn: build) {
|
task buildDeb(dependsOn: build) {
|
||||||
doLast {
|
doLast {
|
||||||
def v = gitVersion()
|
def v = gitVersion()
|
||||||
|
|||||||
Reference in New Issue
Block a user