summaryrefslogtreecommitdiff
path: root/etc/everytea-fetch.service
diff options
context:
space:
mode:
Diffstat (limited to 'etc/everytea-fetch.service')
-rw-r--r--etc/everytea-fetch.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/etc/everytea-fetch.service b/etc/everytea-fetch.service
new file mode 100644
index 0000000..e18a5e5
--- /dev/null
+++ b/etc/everytea-fetch.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=Fetch and parse everytea.ru
+Wants=everytea-fetch.timer
+
+[Service]
+Type=oneshot
+User=root
+WorkingDirectory=/root/everytea.ru
+ExecStart=/usr/local/bin/luna -n 1 /root/everytea.ru/main.lua /root/everytea.ru/bin/fetch.fnl
+
+[Install]
+WantedBy=multi-user.target