Compare commits
	
		
			No commits in common. "master" and "v1.2.1" have entirely different histories.
		
	
	
		
	
		
@ -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**
 | 
			
		||||
| A [Root project](https://rootprojects.org).
 | 
			
		||||
| Sponsored by [Daplie](https://daplie.com).
 | 
			
		||||
 | 
			
		||||
A lightweight DNS / mDNS daemon (server) in node.js.
 | 
			
		||||
 | 
			
		||||
@ -39,7 +39,8 @@ npm install -g 'git+https://git.coolaj86.com/coolaj86/digd.js.git#v1.2.0'
 | 
			
		||||
 | 
			
		||||
### without git
 | 
			
		||||
 | 
			
		||||
Don't have git? You can use npm's centralized repository:
 | 
			
		||||
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:
 | 
			
		||||
 | 
			
		||||
```bash
 | 
			
		||||
npm install -g digd.js
 | 
			
		||||
 | 
			
		||||
							
								
								
									
										2
									
								
								dist/etc/systemd/system/digd.js.service
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										2
									
								
								dist/etc/systemd/system/digd.js.service
									
									
									
									
										vendored
									
									
								
							@ -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=always
 | 
			
		||||
Restart=on-abnormal
 | 
			
		||||
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.3" > /tmp/NODEJS_VER
 | 
			
		||||
echo "v8.9.0" > /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.2
 | 
			
		||||
  git checkout v1.1
 | 
			
		||||
  /opt/digd.js/bin/node /opt/digd.js/bin/npm install
 | 
			
		||||
popd
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user