Improve doc: add dependencies to systemd unit

This commit is contained in:
ibu 2021-12-09 05:55:01 +00:00
parent 1440378c20
commit 2f3e1d368e

View file

@ -109,8 +109,8 @@ To make the service persistent, create a systemd unit file
[Unit]
Description=atextcrawler web crawler
Documentation=https://gitea.multiname.org/a-text/atextcrawler
Requires=network.target
After=network-online.target
Requires=network.target elasticsearch.service tensorflow.service
After=network-online.target elasticsearch.service tensorflow.service
[Service]
Type=simple