mirror of https://github.com/LX3JL/xlxd.git
Merge branch 'master' of https://github.com/jg1uaa/xlxd
commit
1b068d6ca9
|
@ -0,0 +1,15 @@
|
||||
[Unit]
|
||||
Description=AMBE Transcoder Daemon
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
ExecStartPre=-/sbin/rmmod ftdi_sio
|
||||
ExecStartPre=-/sbin/rmmod usb_serial
|
||||
ExecStart=/ambed/ambed 127.0.0.1
|
||||
Restart=on-abnormal
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
@ -0,0 +1,20 @@
|
||||
*************************************************
|
||||
*copy xlxd into /etc.init.d/
|
||||
*copy ambed.service into /etc/systemd/system/
|
||||
*
|
||||
*************************************************
|
||||
* xlxd executable must be in /xlxd/ folder
|
||||
* ambed executable must be in /ambed/ folder
|
||||
*
|
||||
*************************************************
|
||||
* possible options:
|
||||
*
|
||||
* #systemctl start ambed /starts ambed
|
||||
* #systemctl status ambed /shows status of ambed
|
||||
* #systemctl stop ambed /stops ambed
|
||||
* # systemctl restart ambed /restarts ambed
|
||||
*
|
||||
* automatically get it to start on boot:
|
||||
* #systemctl enable ambed
|
||||
*
|
||||
*************************************************
|
||||
Loading…
Reference in new issue