mirror of
https://github.com/cve-search/cpe-guesser.git
synced 2024-11-24 15:57:22 +00:00
19 lines
447 B
SYSTEMD
19 lines
447 B
SYSTEMD
|
[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=always
|
||
|
StandardOutput=append:/var/log/cpeweb_message.log
|
||
|
StandardError=append:/var/log/cpeweb_error.log
|
||
|
|
||
|
[Install]
|
||
|
WantedBy=multi-user.target
|