dae/install/dae.service

18 lines
400 B
SYSTEMD
Raw Normal View History

2023-01-31 22:51:31 +07:00
[Unit]
2023-01-31 23:02:46 +07:00
Description=dae Service
2023-01-31 22:51:31 +07:00
Documentation=https://github.com/v2rayA/dae
After=network-online.target docker.service
Wants=network-online.target
2023-01-31 22:51:31 +07:00
[Service]
Type=simple
User=root
LimitNPROC=500
LimitNOFILE=1000000
2023-02-04 21:22:28 +07:00
ExecStartPre=/usr/bin/dae validate -c /etc/dae/config.dae
ExecStart=/usr/bin/dae run --disable-timestamp -c /etc/dae/config.dae
2023-02-04 21:52:23 +07:00
Restart=on-abnormal
2023-01-31 22:51:31 +07:00
[Install]
WantedBy=multi-user.target