aaden-cli 1.2.40 → 1.2.42
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js
CHANGED
|
@@ -58161,7 +58161,7 @@ module.exports = JSON.parse('{"name":"axios","version":"0.19.2","description":"P
|
|
|
58161
58161
|
/***/ ((module) => {
|
|
58162
58162
|
|
|
58163
58163
|
"use strict";
|
|
58164
|
-
module.exports = {"i8":"1.2.
|
|
58164
|
+
module.exports = {"i8":"1.2.41"};
|
|
58165
58165
|
|
|
58166
58166
|
/***/ }),
|
|
58167
58167
|
|
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
DeviceId=$(cat /var/www/html/Resource/config/config.ini | grep -e DeviceId | cut -d = -f 2 | grep '[1-9]*' | sed 's/"//g')
|
|
4
4
|
aaden-cli update-ngrok-config $DeviceId
|
|
5
5
|
sudo ln -sf /usr/bin/aaden-cli /usr/local/bin/aaden-cli
|
|
6
|
+
sudo chmod +x /usr/local/bin/aaden-cli
|
|
6
7
|
ServiceFileName=/etc/systemd/system/aaden-ngrok.service
|
|
7
8
|
|
|
8
9
|
sudo touch $ServiceFileName
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
DeviceId=$(cat /var/www/html/Resource/config/config.ini | grep -e DeviceId | cut -d = -f 2 | grep '[1-9]*' | sed 's/"//g')
|
|
4
|
-
aaden-cli update-ngrok-config $DeviceId
|
|
5
|
-
ln -s /usr/bin/aaden-cli /usr/local/bin/aaden-cli
|
|
6
|
-
|
|
7
|
-
ServiceFileName=/etc/systemd/system/aaden-ngrok.service
|
|
8
|
-
|
|
9
|
-
sudo touch $ServiceFileName
|
|
10
|
-
sudo chmod 777 $ServiceFileName
|
|
11
|
-
echo -e "
|
|
12
|
-
[Unit]
|
|
13
|
-
Description=Ngrok Service For Aaden
|
|
14
|
-
|
|
15
|
-
[Service]
|
|
16
|
-
Type=simple
|
|
17
|
-
Restart=always
|
|
18
|
-
RestartSec=1
|
|
19
|
-
User=root
|
|
20
|
-
ExecStart=/usr/local/bin/aaden-cli ngrok
|
|
21
|
-
|
|
22
|
-
[Install]
|
|
23
|
-
WantedBy=multi-user.target
|
|
24
|
-
" >$ServiceFileName
|
|
25
|
-
|
|
26
|
-
sudo systemctl start aaden-ngrok.service
|
|
27
|
-
sudo systemctl enable aaden-ngrok.service
|
|
28
|
-
sudo systemctl daemon-reload
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
#!/bin/bash
|
|
2
|
-
|
|
3
|
-
DeviceId=$(cat /var/www/html/Resource/config/config.ini | grep -e DeviceId | cut -d = -f 2 | grep '[1-9]*' | sed 's/"//g')
|
|
4
|
-
aaden-cli update-ngrok-config $DeviceId
|
|
5
|
-
ln -s /usr/bin/aaden-cli /usr/local/bin/aaden-cli
|
|
6
|
-
|
|
7
|
-
ServiceFileName=/etc/systemd/system/aaden-ngrok.service
|
|
8
|
-
|
|
9
|
-
sudo touch $ServiceFileName
|
|
10
|
-
sudo chmod 777 $ServiceFileName
|
|
11
|
-
echo -e "
|
|
12
|
-
[Unit]
|
|
13
|
-
Description=Ngrok Service For Aaden
|
|
14
|
-
|
|
15
|
-
[Service]
|
|
16
|
-
Type=simple
|
|
17
|
-
Restart=always
|
|
18
|
-
RestartSec=1
|
|
19
|
-
User=root
|
|
20
|
-
ExecStart=/usr/bin/aaden-cli ngrok
|
|
21
|
-
|
|
22
|
-
[Install]
|
|
23
|
-
WantedBy=multi-user.target
|
|
24
|
-
" >$ServiceFileName
|
|
25
|
-
|
|
26
|
-
sudo systemctl start aaden-ngrok.service
|
|
27
|
-
sudo systemctl enable aaden-ngrok.service
|
|
28
|
-
sudo systemctl daemon-reload
|