mirror of
https://codeberg.org/hako/Rosenthal.git
synced 2025-01-22 02:05:25 +00:00
services: clash: Support Clash.Meta kernel.
* rosenthal/services/child-error.scm (clash-shepherd-service)[start]: Support Clash.Meta kernel.
This commit is contained in:
parent
6673d31eee
commit
417dd04e82
@ -91,7 +91,13 @@
|
||||
(provision '(clash))
|
||||
(requirement '(loopback networking))
|
||||
(start #~(make-forkexec-constructor
|
||||
(list #$(file-append clash "/bin/clash")
|
||||
(list (let ((clash-meta-cmd
|
||||
#$(file-append clash "/bin/clash.meta"))
|
||||
(clash-cmd
|
||||
#$(file-append clash "/bin/clash")))
|
||||
(if (file-exists? clash-meta-cmd)
|
||||
clash-meta-cmd
|
||||
clash-cmd))
|
||||
"-d" #$data-directory)
|
||||
#:user "clash"
|
||||
#:group "clash"
|
||||
|
Loading…
Reference in New Issue
Block a user