summarylogtreecommitdiffstats
path: root/v2ray-rules-dat-autoupdate.install
diff options
context:
space:
mode:
Diffstat (limited to 'v2ray-rules-dat-autoupdate.install')
-rw-r--r--v2ray-rules-dat-autoupdate.install8
1 files changed, 8 insertions, 0 deletions
diff --git a/v2ray-rules-dat-autoupdate.install b/v2ray-rules-dat-autoupdate.install
new file mode 100644
index 000000000000..8fc69cb5b775
--- /dev/null
+++ b/v2ray-rules-dat-autoupdate.install
@@ -0,0 +1,8 @@
+post_install() {
+ systemctl enable --now v2ray-rules-dat-autoupdate.timer
+}
+
+pre_remove() {
+ systemctl disable v2ray-rules-dat-autoupdate.timer
+}
+