summaryrefslogtreecommitdiffstats
path: root/systemd/shodan.service
diff options
context:
space:
mode:
Diffstat (limited to 'systemd/shodan.service')
-rw-r--r--systemd/shodan.service19
1 files changed, 19 insertions, 0 deletions
diff --git a/systemd/shodan.service b/systemd/shodan.service
new file mode 100644
index 0000000..61b3359
--- /dev/null
+++ b/systemd/shodan.service
@@ -0,0 +1,19 @@
+[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