parent
84c2f3e62b
commit
c9a956765d
|
@ -1,12 +1,15 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=AMBED
|
Description=AMBE Transcoder Daemon
|
||||||
|
After=network.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
User=root
|
||||||
|
Group=root
|
||||||
ExecStartPre=-/sbin/rmmod ftdi_sio
|
ExecStartPre=-/sbin/rmmod ftdi_sio
|
||||||
ExecStartPre=-/sbin/rmmod usbserial
|
ExecStartPre=-/sbin/rmmod usb_serial
|
||||||
ExecStart=/ambed/ambed LOCAL-IP
|
ExecStart=/ambed/ambed 127.0.0.1
|
||||||
|
Restart=on-abnormal
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.targe
|
||||||
Alias=ambed.service
|
|
||||||
|
|
Loading…
Reference in New Issue