добавил дескриптор пакета и скрипт запуска

This commit is contained in:
kirillius 2025-03-16 22:23:53 +03:00
parent 9e31bfe72f
commit 9332d5fdf8
2 changed files with 31 additions and 0 deletions

28
linux-package.json Normal file
View File

@ -0,0 +1,28 @@
{
"package-info": {
"name": "mktbk",
"description": "Mikrotik container backup utility",
"version": "1.0.0.{{ENV:BUILD_NUMBER}}",
"build": "{{ENV:BUILD_NUMBER}}",
"arch": "noarch",
"license": "GPL",
"url": "kirillius.ru",
"group": "UTIL",
"scripts": {
"before_install": "",
"post_install": "",
"before_remove": "",
"post_remove": ""
}
},
"packages": [
"rpm"
],
"dependencies": {
"rpm": [
"java > 21"
]
}
}

3
linux-wrapper.sh Normal file
View File

@ -0,0 +1,3 @@
#!/usr/bin/sh
java -jar $0 $@
exit