This commit is contained in:
Piyush मिश्रः 2021-06-28 07:26:54 +05:30
parent 921284f5a0
commit b875a6fecf
3 changed files with 14 additions and 0 deletions

View File

@ -5,6 +5,7 @@ description = "A simple server manager for local newtrok"
authors = ["PiyushXCoder <piyush.raj.kit@gmail.com>"] authors = ["PiyushXCoder <piyush.raj.kit@gmail.com>"]
license = "GPL 3.0" license = "GPL 3.0"
readme = "README.md" readme = "README.md"
repository = "https://github.com/PiyushXCoder/Rasp-Manager"
keywords = ["server", "raspberry pi"] keywords = ["server", "raspberry pi"]
edition = "2018" edition = "2018"

View File

@ -3,6 +3,8 @@ A simple server manager for local newtrok. Its quite helpful when you are hostin
Feel free to add more commands in `src/command.rs`. Contributions and improvements are always welcomed. Feel free to add more commands in `src/command.rs`. Contributions and improvements are always welcomed.
Edit systemd service `rasp_mgr.service` as per your need and place it in `/usr/lib/systemd/system/`
![Alt text](screenshot.png "Screenshot") ![Alt text](screenshot.png "Screenshot")
# LICENSE # LICENSE

11
rasp_mgr.service Normal file
View File

@ -0,0 +1,11 @@
[Unit]
Description=A simple server manager for local newtrok
After=network.target
[Service]
Type=simple
ExecStart=/opt/rasp_mgr/bin/rasp_mgr --addr 0.0.0.0 --port 80 --static_dir /opt/rasp_mgr/static
LimitNOFILE=infinity
[Install]
WantedBy=multi-user.target