mirror of
https://github.com/LX3JL/xlxd.git
synced 2025-12-06 07:42:01 +01:00
Create xlxd.service
run xlxd as xlxd user (needed to be created manually)
This commit is contained in:
parent
129f1257b4
commit
31b14ebae9
15
scripts/xlxd.service
Normal file
15
scripts/xlxd.service
Normal 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
|
||||
Loading…
Reference in a new issue