Hi,
If we specified a postinst script, the user and group will not be created.
"node_deb": {
"init": "systemd",
"package_name": "foo",
"dependencies": "npm",
"entrypoints": {
"daemon": "scripts/start-foo"
},
"templates": {
"postinst": "scripts/postinst.sh"
}
}
I thought the postinst script was added to the original one. But it seems rather than it replace it.
How can I append my postinst script to the original node-deb postinst template ?
I would like to avoid having to copy them as it's not safe if node-deb updates its templates in the future.
postinst
Hi,
If we specified a
postinstscript, the user and group will not be created.I thought the
postinstscript was added to the original one. But it seems rather than it replace it.How can I append my
postinstscript to the original node-debpostinsttemplate ?I would like to avoid having to copy them as it's not safe if node-deb updates its templates in the future.
postinst