mirror of
https://github.com/XrayR-project/XrayR-release.git
synced 2026-04-28 10:07:22 +08:00
Add files via upload
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
[Unit]
|
||||
Description=XrayR Service
|
||||
After=network.target nss-lookup.target
|
||||
Wants=network.target
|
||||
|
||||
[Service]
|
||||
User=root
|
||||
Group=root
|
||||
Type=simple
|
||||
LimitAS=infinity
|
||||
LimitRSS=infinity
|
||||
LimitCORE=infinity
|
||||
LimitNOFILE=999999
|
||||
WorkingDirectory=/usr/local/XrayR/
|
||||
ExecStart=/usr/local/XrayR/XrayR -config /etc/XrayR/config.yml
|
||||
Restart=on-failure
|
||||
RestartSec=10
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user