chore: add systemd service

This commit is contained in:
mzz2017 2023-01-31 23:51:31 +08:00
parent 2cd2a2ec8f
commit 3d890cadd0

16
install/dae.service Normal file
View File

@ -0,0 +1,16 @@
[Unit]
Description=v2rayA Service
Documentation=https://github.com/v2rayA/dae
After=network.target
Wants=network.target
[Service]
Type=simple
User=root
LimitNPROC=500
LimitNOFILE=1000000
ExecStart=/usr/bin/dae run -c /etc/dae/config.dae
Restart=on-failure
[Install]
WantedBy=multi-user.target