Create xlxd.service

run xlxd as xlxd user (needed to be created manually)
This commit is contained in:
Fabian Franz BSc 2024-05-14 22:02:07 +02:00 committed by GitHub
parent 129f1257b4
commit 31b14ebae9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

15
scripts/xlxd.service Normal file
View file

@ -0,0 +1,15 @@
[Unit]
Description=XLX Reflector (XLX999)
After=network.target ambed.service
[Service]
Type=forking
User=xlxd
Group=xlxd
AmbientCapabilities=CAP_NET_RAW
ExecStart=/usr/bin/xlxd XLX999 1.2.3.4 127.0.0.1
Restart=on-abnormal
RestartSec=30
[Install]
WantedBy=multi-user.target