mirror of https://github.com/LX3JL/xlxd.git
parent
73516e9f14
commit
3ebcc561cd
@ -0,0 +1,10 @@
|
||||
# This is used by xlxd.service. Note this is shellcode sourced by xlxd.service
|
||||
|
||||
# Enter XLX name/number here
|
||||
REFLECTOR="XLXnnn"
|
||||
|
||||
# Enter IP for binding here
|
||||
BIND_IP="0.0.0.0"
|
||||
|
||||
# Change this is ambed is running on a different host
|
||||
AMBED_IP="127.0.0.1"
|
||||
@ -0,0 +1,16 @@
|
||||
[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
|
||||
Loading…
Reference in new issue