File tree 1 file changed +3
-3
lines changed
Filter options
1 file changed +3
-3
lines changed
Original file line number Diff line number Diff line change @@ -241,6 +241,8 @@ It's as simple as it is no complications involved.
241
241
### Method 2: Server Deploy
242
242
For the server deploying you need first to download the repo to the server and run the following:
243
243
- * Step 1:* Edit The nmap service file
244
+ - You can change the ` WorkinDirectory ` and ` gunicorn ` paths to the paths you have set.
245
+ - I suggest the rest of it stay as it is to avoid unwanted errors.
244
246
``` service
245
247
[Unit]
246
248
Description=Nmap API deployment
@@ -255,17 +257,15 @@ Restart=always
255
257
[Install]
256
258
WantedBy=multi-user.target
257
259
```
258
- - You can change the ` WorkinDirectory ` and ` gunicorn ` paths to the paths you have set.
259
- - I suggest the rest of it stay as it is to avoid unwanted errors.
260
260
261
261
- * Step 2:* Starting services
262
+ - We are good to go
262
263
``` bash
263
264
mv nmapapi.service /etc/systemd/system
264
265
sudo systemctl daemon-reload
265
266
sudo systemctl start nmapapi
266
267
sudo systemctl enable nmapapi
267
268
```
268
- - We are good to go
269
269
270
270
- * Step 4:* I guess the final step changes per individual it is suggested to setup firewall rules and redirect port 80 to 443
271
271
You can’t perform that action at this time.
0 commit comments