16 lines
356 B
SYSTEMD
16 lines
356 B
SYSTEMD
[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
|