Compare commits
4 Commits
Author | SHA1 | Date |
---|---|---|
AJ ONeal | c0eb4225dc | |
AJ ONeal | 6ef61a8674 | |
AJ ONeal | d8ead3181d | |
AJ ONeal | bc93b942ee |
|
@ -5,7 +5,7 @@ digd.js
|
|||
| [dig.js](https://git.coolaj86.com/coolaj86/dig.js)
|
||||
| [mdig.js](https://git.coolaj86.com/coolaj86/mdig.js)
|
||||
| **digd.js**
|
||||
| Sponsored by [Daplie](https://daplie.com).
|
||||
| A [Root project](https://rootprojects.org).
|
||||
|
||||
A lightweight DNS / mDNS daemon (server) in node.js.
|
||||
|
||||
|
@ -39,8 +39,7 @@ npm install -g 'git+https://git.coolaj86.com/coolaj86/digd.js.git#v1.2.0'
|
|||
|
||||
### without git
|
||||
|
||||
Don't have git? Well, you can also bow down to the gods of the centralized, monopolized, concentrated, *dictator*net
|
||||
(as we like to call it here at Daplie Labs), if that's how you roll:
|
||||
Don't have git? You can use npm's centralized repository:
|
||||
|
||||
```bash
|
||||
npm install -g digd.js
|
||||
|
|
|
@ -8,7 +8,7 @@ Wants=network-online.target systemd-networkd-wait-online.service
|
|||
# Restart on crash (bad signal), but not on 'clean' failure (error exit code)
|
||||
# Allow up to 3 restarts within 10 seconds
|
||||
# (it's unlikely that a user or properly-running script will do this)
|
||||
Restart=on-abnormal
|
||||
Restart=always
|
||||
StartLimitInterval=10
|
||||
StartLimitBurst=3
|
||||
|
||||
|
|
|
@ -6,7 +6,7 @@ sudo mkdir -p /opt/digd.js /srv/digd.js
|
|||
#chown -R $(whoami):$(whoami) /opt/digd.js /srv/digd.js
|
||||
chown -R digd:digd /opt/digd.js /srv/digd.js
|
||||
|
||||
echo "v8.9.0" > /tmp/NODEJS_VER
|
||||
echo "v8.9.3" > /tmp/NODEJS_VER
|
||||
export NODE_PATH=/opt/digd.js/lib/node_modules
|
||||
export NPM_CONFIG_PREFIX=/opt/digd.js
|
||||
curl -fsSL https://git.coolaj86.com/coolaj86/node-installer.sh/raw/master/install.sh -o ./node-installer.sh.tmp
|
||||
|
@ -16,7 +16,7 @@ rm ./node-installer.sh.tmp
|
|||
|
||||
git clone https://git.coolaj86.com/coolaj86/digd.js /opt/digd.js/lib/node_modules/digd.js
|
||||
pushd /opt/digd.js/lib/node_modules/digd.js
|
||||
git checkout v1.1
|
||||
git checkout v1.2
|
||||
/opt/digd.js/bin/node /opt/digd.js/bin/npm install
|
||||
popd
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "digd.js",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"description": "A lightweight DNS / mDNS daemon (server) for creating and capturing DNS and mDNS query and response packets to disk as binary and/or JSON. Options are similar to the Unix dig command.",
|
||||
"main": "bin/digd.js",
|
||||
"homepage": "https://git.coolaj86.com/coolaj86/digd.js",
|
||||
|
|
Loading…
Reference in New Issue