blob: 12493ca6a5b99a26506cda2aaa47efb918e4dae3 (
plain)
1
2
3
4
5
6
7
8
|
readonly PKGNAME="nodequery"
post_install() {
useradd -rs /usr/bin/nologin "${PKGNAME}"
chown -R "${PKGNAME}:${PKGNAME}" "/etc/${PKGNAME}"
chmod -R 700 "/etc/${PKGNAME}"
echo "NodeQuery is ready. In order to activate it you should put your access token in /etc/nodequer/nq-auth.log and then enable/start nodequery.timer."
}
|