Managing services.
authorOleksandr Gavenko <gavenkoa@gmail.com>
Mon, 24 Dec 2018 01:34:35 +0200
changeset 2314 b98ca7669c57
parent 2313 ab4d0f12baa6
child 2315 51097a1f0381
Managing services.
systemd.rst
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/systemd.rst	Mon Dec 24 01:34:35 2018 +0200
@@ -0,0 +1,24 @@
+
+=========
+ Systemd
+=========
+
+Managing services
+=================
+
+Display service details/status::
+
+  $ sudo systemctl show   my.service
+  $ sudo systemctl status my.service
+
+Start/stop service::
+
+  $ sudo systemctl start   repricer-server.service
+  $ sudo systemctl stop    repricer-server.service
+  $ sudo systemctl restart repricer-server.service
+
+Enabling/disabling service::
+
+  $ sudo systemctl enable  my.service
+  $ sudo systemctl disable my.service
+