bin/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Mon, 29 Jul 2024 10:24:20 -0500
changeset 236 55fe664e0a05
parent 231 e3ebf2a606ea
permissions -rw-r--r--
Fixed prosody cert installation hook.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
228
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
[Unit]
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
Description=Bin pastebin server bound on port %i
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
After=syslog.target network.target
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
[Service]
231
e3ebf2a606ea Added paste limits
Luke Hoersten <luke@hoersten.org>
parents: 228
diff changeset
     6
ExecStart=/usr/local/bin/bin 127.0.0.1:%i --buffer-size 10 --max-paste-size 16000
228
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
Restart=always
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
User={{bin_user}}
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
[Install]
ff776d663062 Added pastebin bin role.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
WantedBy=multi-user.target