diff options
| author | unwox <me@unwox.com> | 2024-11-06 16:59:47 +0600 |
|---|---|---|
| committer | unwox <me@unwox.com> | 2024-11-06 16:59:47 +0600 |
| commit | d7a811e4fa87866dad41dc871d0484739df16dbc (patch) | |
| tree | c1487f1135a6a9ecf03c3469e229e392afadb202 /etc/everytea-fetch.service | |
| parent | 06bd63eef6f247b4a9d775ce3a21d32e18048c4c (diff) | |
add systemd services
Diffstat (limited to 'etc/everytea-fetch.service')
| -rw-r--r-- | etc/everytea-fetch.service | 12 |
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 |
