Resources
Pracitce Playground
Commands
- HackLabs
- Run As Service
sudo nano /etc/systemd/system/hacklabs.service
[Unit]
Description=HackLabs Web App
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/root/HackLabs
Environment=PATH=/root/HackLabs/venv/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin
ExecStart=/root/HackLabs/venv/bin/python app.py
Restart=always
RestartSec=5
[Install]
WantedBy=multi-user.target
sudo systemctl daemon-reload
sudo systemctl enable hacklabs.service
sudo systemctl start hacklabs.service
sudo systemctl status hacklabs.service
Nodes
4 items under this folder.