changes
This commit is contained in:
parent
921284f5a0
commit
b875a6fecf
|
|
@ -5,6 +5,7 @@ description = "A simple server manager for local newtrok"
|
|||
authors = ["PiyushXCoder <piyush.raj.kit@gmail.com>"]
|
||||
license = "GPL 3.0"
|
||||
readme = "README.md"
|
||||
repository = "https://github.com/PiyushXCoder/Rasp-Manager"
|
||||
keywords = ["server", "raspberry pi"]
|
||||
edition = "2018"
|
||||
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
||||
Edit systemd service `rasp_mgr.service` as per your need and place it in `/usr/lib/systemd/system/`
|
||||
|
||||

|
||||
|
||||
# LICENSE
|
||||
|
|
|
|||
|
|
@ -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
|
||||
Loading…
Reference in New Issue