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
|
2023-02-08 20:35:05 +07:00
|
|
|
After=network-online.target docker.service
|
2023-02-04 21:02:37 +07:00
|
|
|
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
|
2023-02-04 21:02:37 +07:00
|
|
|
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
|