Browse Source

update and rename systemd service

Karsten Böddeker 7 years ago
parent
commit
cb5e261f08
3 changed files with 20 additions and 19 deletions
  1. 7 6
      README.md
  2. 0 13
      ext-respondd.service.example
  3. 13 0
      respondd.service.example

+ 7 - 6
README.md

@@ -33,14 +33,15 @@ Copy `alias.json.example` to `alias.json` and input e.g. owner information.
 The JSON content matches one block of the nodes.json, which is outputted by e.g. the [HopGlass-Server](https://github.com/plumpudding/hopglass-server).
 
 
-### ext-respondd.service
-Register ext-respondd as a systemd service
+### respondd.service
+Register respondd as a systemd service
 
 ```
-cp ext-respondd.service.example /lib/systemd/system/ext-respondd.service
-! modify the path inside of the ext-respondd.service !
-systemctl enable ext-respondd
-systemctl start ext-respondd
+cp respondd.service.example /lib/systemd/system/respondd.service
+# modify the path inside of the respondd.service if needed
+systemctl daemon-reload
+systemctl enable respondd
+systemctl start respondd
 ```
 
 ## Notes

+ 0 - 13
ext-respondd.service.example

@@ -1,13 +0,0 @@
-[Unit]
-Description=ext-respondd (respondd Status for Servers)
-After=syslog.target network.target
-
-[Service]
-Type=simple
-User=root
-Group=root
-WorkingDirectory=/usr/local/src/ext-respondd
-ExecStart=/usr/local/src/ext-respondd/ext-respondd.py
-
-[Install]
-WantedBy=multi-user.target

+ 13 - 0
respondd.service.example

@@ -0,0 +1,13 @@
+[Unit]
+Description=respondd (respondd Status for Servers)
+After=syslog.target network.target
+
+[Service]
+Type=simple
+User=root
+Group=root
+WorkingDirectory=/src/ffho-respondd
+ExecStart=/src/ffho-respondd/ext-respondd.py
+
+[Install]
+WantedBy=multi-user.target