mirror of
https://github.com/evilsocket/opensnitch.git
synced 2025-03-04 00:24:40 +01:00
removed sudo from Makefiles
Documentation must be updated to indicate when to use sudo. closes #291
This commit is contained in:
parent
719c906267
commit
f751dc13c6
3 changed files with 6 additions and 5 deletions
8
Makefile
8
Makefile
|
@ -22,9 +22,9 @@ clean:
|
|||
@cd proto && make clean
|
||||
|
||||
run:
|
||||
cd ui && sudo pip3 install --upgrade . && cd ..
|
||||
cd ui && pip3 install --upgrade . && cd ..
|
||||
opensnitch-ui --socket unix:///tmp/osui.sock &
|
||||
sudo ./daemon/opensnitchd -ui-socket unix:///tmp/osui.sock -cpu-profile cpu.profile -mem-profile mem.profile
|
||||
./daemon/opensnitchd -rules-path /etc/opensnitchd/rules -ui-socket unix:///tmp/osui.sock -cpu-profile cpu.profile -mem-profile mem.profile
|
||||
|
||||
test:
|
||||
clear
|
||||
|
@ -43,8 +43,8 @@ adblocker:
|
|||
clear
|
||||
python make_ads_rules.py
|
||||
clear
|
||||
cd ui && sudo pip3 install --upgrade . && cd ..
|
||||
cd ui && pip3 install --upgrade . && cd ..
|
||||
opensnitch-ui --socket unix:///tmp/osui.sock &
|
||||
sudo ./daemon/opensnitchd -ui-socket unix:///tmp/osui.sock
|
||||
./daemon/opensnitchd -rules-path /etc/opensnitchd/rules -ui-socket unix:///tmp/osui.sock
|
||||
|
||||
|
||||
|
|
|
@ -5,6 +5,7 @@ install:
|
|||
@cp opensnitchd /usr/local/bin/
|
||||
@cp opensnitchd.service /etc/systemd/system/
|
||||
@cp default-config.json /etc/opensnitchd/
|
||||
@cp system-fw.json /etc/opensnitchd/
|
||||
@systemctl daemon-reload
|
||||
|
||||
opensnitchd:
|
||||
|
|
|
@ -7,7 +7,7 @@ opensnitch/resources_rc.py: deps
|
|||
@pyrcc5 -o opensnitch/resources_rc.py opensnitch/res/resources.qrc
|
||||
|
||||
deps:
|
||||
@sudo pip3 install -r requirements.txt
|
||||
@pip3 install -r requirements.txt
|
||||
|
||||
clean:
|
||||
@rm -rf *.pyc
|
||||
|
|
Loading…
Add table
Reference in a new issue