mirror of
https://github.com/bol-van/zapret.git
synced 2025-12-10 05:26:47 +03:00
systemd improve cheat sheet
This commit is contained in:
@@ -7,10 +7,10 @@
|
|||||||
# install build depends
|
# install build depends
|
||||||
# make -C /opt/zapret systemd
|
# make -C /opt/zapret systemd
|
||||||
# cp nfqws@service /lib/systemd/system
|
# cp nfqws@service /lib/systemd/system
|
||||||
|
# systemctl daemon-reload
|
||||||
|
|
||||||
# MANAGE INSTANCE
|
# MANAGE INSTANCE
|
||||||
# prepare /etc/zapret/nfqws1.conf with nfqws parameters
|
# prepare /etc/zapret/nfqws1.conf with nfqws parameters
|
||||||
# systemctl daemon-reload
|
|
||||||
# systemctl start nfqws@nfqws1
|
# systemctl start nfqws@nfqws1
|
||||||
# systemctl status nfqws@nfqws1
|
# systemctl status nfqws@nfqws1
|
||||||
# systemctl restart nfqws@nfqws1
|
# systemctl restart nfqws@nfqws1
|
||||||
|
|||||||
@@ -7,10 +7,10 @@
|
|||||||
# install build depends
|
# install build depends
|
||||||
# make -C /opt/zapret systemd
|
# make -C /opt/zapret systemd
|
||||||
# cp tpws@service /lib/systemd/system
|
# cp tpws@service /lib/systemd/system
|
||||||
|
# systemctl daemon-reload
|
||||||
|
|
||||||
# MANAGE INSTANCE
|
# MANAGE INSTANCE
|
||||||
# prepare /etc/zapret/tpws1.conf with tpws parameters
|
# prepare /etc/zapret/tpws1.conf with tpws parameters
|
||||||
# systemctl daemon-reload
|
|
||||||
# systemctl start tpws@tpws1
|
# systemctl start tpws@tpws1
|
||||||
# systemctl status tpws@tpws1
|
# systemctl status tpws@tpws1
|
||||||
# systemctl restart tpws@tpws1
|
# systemctl restart tpws@tpws1
|
||||||
|
|||||||
Reference in New Issue
Block a user