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.
17 lines
372 B
17 lines
372 B
[Unit]
|
|
Description=XLXD Multiprotocol Reflector
|
|
After=network.target ambed.service
|
|
|
|
[Service]
|
|
Type=forking
|
|
User=root
|
|
Group=root
|
|
EnvironmentFile=/etc/default/xlxd
|
|
ExecStart=/xlxd/xlxd ${REFLECTOR} ${BIND_IP} ${AMBED_IP}
|
|
ExecStartPost=/bin/sh -c 'umask 022; pgrep xlxd > /var/log/xlxd.pid'
|
|
Restart=on-abnormal
|
|
PIDFile=/var/log/xlxd.pid
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|