docs: support reload in service

This commit is contained in:
Larvan2 2023-09-29 13:26:59 +08:00 committed by GitHub
parent 265a6b9b68
commit 02397868fc
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -328,6 +328,7 @@ AmbientCapabilities=CAP_NET_ADMIN CAP_NET_RAW CAP_NET_BIND_SERVICE
Restart=always
ExecStartPre=/usr/bin/sleep 1s
ExecStart=/usr/local/bin/Clash-Meta -d /etc/Clash-Meta
ExecReload=/bin/kill -HUP $MAINPID
[Install]
WantedBy=multi-user.target