Restart mxisd service on Debian package upgrade/install if possible

This commit is contained in:
Max Dor
2019-06-12 00:18:25 +02:00
parent f85345bc97
commit a964b073bf
2 changed files with 12 additions and 0 deletions

View File

@@ -229,6 +229,12 @@ task debBuild(dependsOn: shadowJar) {
value: debDataPath
)
ant.replace(
file: "${debBuildDebianPath}/postinst",
token: '%DEB_CONF_FILE%',
value: "${debConfPath}/mxisd.yaml"
)
ant.chmod(
file: "${debBuildDebianPath}/postinst",
perm: 'a+x'