mirror of
https://github.com/ntop/n2n.git
synced 2024-09-20 00:51:10 +02:00
Disable automatic n2n startup
This commit is contained in:
parent
48c7ff78bd
commit
2e2654dd2a
|
@ -26,9 +26,9 @@ if [ -f /.dockerenv ]; then exit 0; fi
|
||||||
echo "(Re)Starting n2n..."
|
echo "(Re)Starting n2n..."
|
||||||
systemctl daemon-reload
|
systemctl daemon-reload
|
||||||
systemctl reset-failed
|
systemctl reset-failed
|
||||||
systemctl enable edge
|
|
||||||
systemctl restart edge
|
# Do not start services automatically
|
||||||
systemctl enable supernode
|
#systemctl restart edge
|
||||||
systemctl restart supernode
|
#systemctl restart supernode
|
||||||
|
|
||||||
exit 0
|
exit 0
|
||||||
|
|
|
@ -71,10 +71,11 @@ rm -fr $RPM_BUILD_ROOT
|
||||||
|
|
||||||
if [ ! -f /.dockerenv ]; then
|
if [ ! -f /.dockerenv ]; then
|
||||||
/bin/systemctl daemon-reload
|
/bin/systemctl daemon-reload
|
||||||
/bin/systemctl enable edge.service
|
# Do not enable service automatically
|
||||||
/bin/systemctl restart edge.service
|
#/bin/systemctl enable edge.service
|
||||||
/bin/systemctl enable supernode.service
|
#/bin/systemctl restart edge.service
|
||||||
/bin/systemctl restart supernode.service
|
#/bin/systemctl enable supernode.service
|
||||||
|
#/bin/systemctl restart supernode.service
|
||||||
fi
|
fi
|
||||||
|
|
||||||
%preun
|
%preun
|
||||||
|
|
Loading…
Reference in New Issue
Block a user