Create ambed.service

start ambed server as a service on debian
This commit is contained in:
LX1IQ 2020-04-12 09:53:47 +02:00 committed by GitHub
parent 3271247d47
commit 3ee08dc49e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 15 additions and 0 deletions

15
scripts/ambed.service Normal file
View File

@ -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