mirror of https://github.com/LX3JL/xlxd.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
396 B
20 lines
396 B
[Unit]
|
|
Description=Ambed Service
|
|
Requires=network.target
|
|
After=systemd-user-session.service network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
Restart=always
|
|
RestartSec=3
|
|
StandardOutput=null
|
|
WorkingDirectory=/ambed
|
|
ExecStartPre=-/sbin/rmmod ftdi_sio
|
|
ExecStartPre=-/sbin/rmmod usbserial
|
|
ExecStart=/ambed/ambed 127.0.0.1
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
KillMode=process
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|