From 3d1dead13b5f3d7674b98a3f8684686d8fbc681e Mon Sep 17 00:00:00 2001 From: Georg Date: Wed, 21 Jul 2021 12:47:30 +0200 Subject: Initial Systemd Service Run: 2/3 Signed-off-by: Georg --- systemd/shodan.service | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 systemd/shodan.service (limited to 'systemd/shodan.service') 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 -- cgit v1.2.3