Browse Source

systemd improve cheat sheet

pull/1301/head
bol-van 3 weeks ago
parent
commit
33bcf6f7b4
  1. 2
      init.d/systemd/[email protected]
  2. 2
      init.d/systemd/[email protected]

2
init.d/systemd/[email protected]

@ -7,10 +7,10 @@
# install build depends
# make -C /opt/zapret systemd
# cp nfqws@service /lib/systemd/system
# systemctl daemon-reload
# MANAGE INSTANCE
# prepare /etc/zapret/nfqws1.conf with nfqws parameters
# systemctl daemon-reload
# systemctl start nfqws@nfqws1
# systemctl status nfqws@nfqws1
# systemctl restart nfqws@nfqws1

2
init.d/systemd/[email protected]

@ -7,10 +7,10 @@
# install build depends
# make -C /opt/zapret systemd
# cp tpws@service /lib/systemd/system
# systemctl daemon-reload
# MANAGE INSTANCE
# prepare /etc/zapret/tpws1.conf with tpws parameters
# systemctl daemon-reload
# systemctl start tpws@tpws1
# systemctl status tpws@tpws1
# systemctl restart tpws@tpws1

Loading…
Cancel
Save