From b3cac70a7fd19c1f3e9aae6ac4fea528d7a85865 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