diff options
Diffstat (limited to 'run')
| -rw-r--r-- | run/anubis.env.default | 5 | ||||
| -rw-r--r-- | run/anubis@.service | 12 |
2 files changed, 17 insertions, 0 deletions
diff --git a/run/anubis.env.default b/run/anubis.env.default new file mode 100644 index 0000000..b72eddd --- /dev/null +++ b/run/anubis.env.default @@ -0,0 +1,5 @@ +BIND=:8923 +DIFFICULTY=3 +METRICS_BIND=:9090 +SERVE_ROBOTS_TXT=0 +TARGET=http://localhost:3000
\ No newline at end of file diff --git a/run/anubis@.service b/run/anubis@.service new file mode 100644 index 0000000..102775f --- /dev/null +++ b/run/anubis@.service @@ -0,0 +1,12 @@ +[Unit] +Description="Anubis HTTP defense proxy (instance %i)" + +[Service] +ExecStart=/usr/bin/anubis +Restart=always +RestartSec=30s +EnvironmentFile=/etc/anubis/anubis-%i.env +LimitNOFILE=infinity + +[Install] +WantedBy=multi-user.target
\ No newline at end of file |
