mirror of
https://github.com/daeuniverse/dae.git
synced 2024-12-22 21:44:55 +07:00
chore: add systemd service
This commit is contained in:
parent
2cd2a2ec8f
commit
3d890cadd0
16
install/dae.service
Normal file
16
install/dae.service
Normal 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
|
Loading…
Reference in New Issue
Block a user