diff options
author | felinae98 | 2020-12-11 21:44:37 +0800 |
---|---|---|
committer | felinae98 | 2020-12-11 21:44:37 +0800 |
commit | 8a70a4c9c971a3e5c92ece961541d98265c9e94f (patch) | |
tree | 642879b8168f6d65ebcbc514e5a4883ace0db4ec /clashup.service | |
parent | 6139c27687bab39ac07684741cafdf7b68e939a6 (diff) | |
download | aur-8a70a4c9c971a3e5c92ece961541d98265c9e94f.tar.gz |
add period update
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 |