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