diff options
Diffstat (limited to 'clashup.service')
-rw-r--r-- | clashup.service | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/clashup.service b/clashup.service new file mode 100644 index 000000000000..69f6710ca859 --- /dev/null +++ b/clashup.service @@ -0,0 +1,9 @@ +[Unit] +Wants=network-online.target +After=network-online.target +Description=Update clash config file + +[Service] +ExecStart=/usr/bin/clashup --update +ExecStopPost=/usr/bin/systemctl restart clash@root +Type=oneshot |