raena-crawler-engine/hasaki_crawler_engine/hasaki_crawler.service

16 lines
356 B
SYSTEMD

[Unit]
Description=Hasaki Crawler Service
After=network.target
[Service]
Type=simple
Restart=on-failure
RestartSec=1m
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