From dd2e6e82dec14f16de3f29e7e6f87a572b6c31e1 Mon Sep 17 00:00:00 2001 From: "shariar@raenabeauty.com" Date: Mon, 1 Apr 2024 11:10:27 +0400 Subject: [PATCH] added Hasaki crawler --- hasaki_crawler_engine/hasaki_crawler.server | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 hasaki_crawler_engine/hasaki_crawler.server diff --git a/hasaki_crawler_engine/hasaki_crawler.server b/hasaki_crawler_engine/hasaki_crawler.server new file mode 100644 index 0000000..66739bc --- /dev/null +++ b/hasaki_crawler_engine/hasaki_crawler.server @@ -0,0 +1,15 @@ +[Unit] +Description=Hasaki Crawler Service +After=network.target + +[Service] +Type=simple +Restart=on-failure +RestartSec=5m +User=ubuntu +WorkingDirectory=/home/ubuntu/raena-crawler-engine/hasaki_crawler_engine +ExecStart=/bin/bash /home/ubuntu/raena-crawler-engine/hasaki_crawler_engine/run_hasaki.sh +TimeoutStopSec=infinity + +[Install] +WantedBy=multi-user.target