system/systemd/shodan.service

20 lines
487 B
SYSTEMD

[Unit]
Description=Limnoria (shodan)
After=network.target
[Service]
Type=simple
ExecStart=/opt/limnoria/shodan/venv/bin/supybot /opt/limnoria/shodan/shodan.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
User=shodan
Group=shodan
SyslogIdentifier=shodan
SystemCallFilter=~@raw-io @clock @cpu-emulation @debug @keyring @module @mount @obsolete @privileged @raw-io
ProtectSystem=strict
ProtectHome=read-only
ReadWritePaths=/opt/limnoria/shodan
[Install]
WantedBy=multi-user.target