mirror of
https://github.com/g4klx/MMDVMHost
synced 2025-12-24 01:25:41 +08:00
Restore the branch
This commit is contained in:
31
linux/pi-star/systemd/README.md
Normal file
31
linux/pi-star/systemd/README.md
Normal file
@@ -0,0 +1,31 @@
|
||||
MMDVMHost Systemd setup
|
||||
=======================
|
||||
|
||||
Preface
|
||||
-------
|
||||
|
||||
Since moving to Systemd many admins are struggling with the differences, in an effort to take the work
|
||||
out of installing MMDVMHost on your linux host, I have written a service handler and the related systemd
|
||||
unit files.
|
||||
|
||||
I hope these help you get going quickly.
|
||||
Written on / tested on / confirmed working on Raspbian Jessie-lite but should work just fine on any
|
||||
system using systemd.
|
||||
|
||||
Enjoy, 73 de MW0MWZ
|
||||
|
||||
|
||||
Install Instructions
|
||||
--------------------
|
||||
|
||||
1. Copy mmdvmhost_service to /usr/local/sbin
|
||||
2. Change the permisions of /usr/local/sbin/mmdvmhost_service to 500 (root executable)
|
||||
3. Change the variables in /usr/local/sbin/mmdvmhost_service to match your setup
|
||||
(MMDVMHost.ini location, log location, user and daemon location)
|
||||
4. Copy mmdvmhost.service to /lib/systemd/system
|
||||
5. Copy mmdvmhost.timer to /lib/systemd/system
|
||||
6. Edit the timeout in mmdvmhost.timer to suit - 45 secs is a reasonable starting point.
|
||||
7. Reload systemctl with: "systemctl daemon-reload"
|
||||
8. Add the timer serice to the boot with: "systemctl enable mmdvmhost.timer"
|
||||
**NOTE - There is no need / desire to enable mmdvmhost.service!
|
||||
|
||||
Reference in New Issue
Block a user