Skip to content

Instantly share code, notes, and snippets.

@GitGerby
GitGerby / valheim.service
Created September 15, 2024 02:24
valheim systemd unit file
[Unit]
Description=valheim dedicated server
Wants=network-online.target
After=syslog.target network.target nss-lookup.target network-online.target
[Service]
Environment=LD_LIBRARY_PATH=/opt/steam/valheim/linux64:$LD_LIBRARY_PATH
Environment=SteamAppId=892970
ExecStartPre=/usr/games/steamcmd +force_install_dir /opt/steam/valheim/ +login anonymous +app_update 896660 validate +quit
ExecStart=/opt/steam/valheim/valheim_server.x86_64 -port 2456 -name "Server Name" -world "World Name" -savedir /home/steam/valheim/saved -password "connect_password"
@GitGerby
GitGerby / logstash-suricata.conf
Last active December 1, 2018 18:32 — forked from elnappo/logstash-suricata.conf
Suricata Logstash Elasticsearch
input {
redis {
data_type=> "list"
codec => json
type => "SuricataIDPS"
}
}
filter {
if [type] == "SuricataIDPS" {