Improve doc: add dependencies to systemd unit
This commit is contained in:
parent
1440378c20
commit
2f3e1d368e
1 changed files with 2 additions and 2 deletions
|
@ -109,8 +109,8 @@ To make the service persistent, create a systemd unit file
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=atextcrawler web crawler
|
Description=atextcrawler web crawler
|
||||||
Documentation=https://gitea.multiname.org/a-text/atextcrawler
|
Documentation=https://gitea.multiname.org/a-text/atextcrawler
|
||||||
Requires=network.target
|
Requires=network.target elasticsearch.service tensorflow.service
|
||||||
After=network-online.target
|
After=network-online.target elasticsearch.service tensorflow.service
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
Type=simple
|
Type=simple
|
||||||
|
|
Loading…
Reference in a new issue