Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

dcp-rds

Package Overview
Dependencies
Maintainers
2
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dcp-rds - npm Package Compare versions

Comparing version 1.0.5 to 1.0.6-a

5

npm/postinstall.js

@@ -32,3 +32,3 @@ /**

console.log(`\nTo complete the install, run the following commands (Ubuntu Linux):`);
console.log(`\nTo complete the install, customize ${niceConfig}, and integrate the daemon into your system. Here's one way, that works on Ubuntu Linux:`);
console.log(`\tsudo useradd dcp-rds -d "${storage}" --system`);

@@ -41,4 +41,3 @@ console.log(`\tsudo mkdir "${storage}"`);

console.log('\tsudo systemctl daemon-reload');
console.log('\ttty >/dev/null || sudo systemctl restart dcp-rds');
console.log(`\ttty >/dev/null && sudo ${process.env.VISUAL || process.env.EDITOR || 'vi'} ${niceConfig} && sudo systemctl restart dcp-rds`);
console.log('\tsudo systemctl restart dcp-rds');
console.log('');

2

package.json
{
"name": "dcp-rds",
"version": "1.0.5",
"version": "1.0.6-a",
"description": "DCP Remote Data Service reference implementation",

@@ -5,0 +5,0 @@ "scripts": {

@@ -8,3 +8,4 @@ # DCP Remote Data Service

:----------- |:------------------- |:---------------------------------------------
| Oct 8 2021 | Wes Garland | Initial Release
| Oct 8 2021 | Wes Garland | 1.0.3, Initial Release
| Jan 8 2022 | Wes Garland | 1.0.6, Documentation changes

@@ -147,26 +148,17 @@ ## Legal (MIT License)

### Common
#### Installation - Standalone Package
```bash
PREFIX="/var/dcp-rds"
```
#### Package install
```bash
sudo useradd -d "${PREFIX}" -M -s /bin/false dcp-rds
sudo mkdir -p "${PREFIX}"
sudo chown dcp-rds:dcp-rds "${PREFIX}"
sudo npm i dcp-rds --global --prefix="${PREFIX}"
```
#### Systemctl Integration
```bash
sed -e "s;/var/dcp-rds/;${PREFIX}/;" \
< "${PREFIX}/systemctl/dcp-rds.service" \
| sudo sh -c 'cat > /etc/systemd/system/dcp-rds.service'
sudo systemctl daemon-reload
sudo systemctl restart dcp-rds
```
Once the package has been installed, you will need it to integrate it with whatever security scheme, process monitor and web servers you are running locally.
The script will display one way of doing this with Ubuntu Linux when it finishes running.
#### nginx Integration
##### systemctl Integration
A sample systemctl configuration is stored in ${PREFIX}/systemctl
##### nginx Integration
Here is one way to integrate with nginx:
```

@@ -188,8 +180,4 @@ location /dcp-rds/methods {

#### Apache Integration
You'll need to set up a reverse proxy.
- now edit apache confs
- copy systemctl stuff
- systemctl daemon-reload
- systemctl start whatever this thing is call
## Appendix A - Manifest

@@ -196,0 +184,0 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc