cpe-guesser/etc/systemd/system/cpeweb.service

19 lines
451 B
SYSTEMD
Raw Normal View History

2021-12-14 10:26:44 +00:00
[Unit]
Description=circl dot lu CPE guesser service
#Requires=mongodb.service redis-server.service
Documentation=https://github.com/cve-search/cpe-guesser
after=network.target
[Service]
WorkingDirectory=$(INSTALLDIR)/bin
ExecStart=python3 server.py
User=$(CPE_USER)
Group=$(CPE_USER)
Type=simple
Restart=on-failure
2021-12-14 10:26:44 +00:00
StandardOutput=append:/var/log/cpeweb_message.log
StandardError=append:/var/log/cpeweb_error.log
[Install]
WantedBy=multi-user.target