bin/server/templates/[email protected]
author Luke Hoersten <luke@hoersten.org>
Sat, 10 Feb 2024 15:45:13 -0600
changeset 231 e3ebf2a606ea
parent 228 ff776d663062
permissions -rw-r--r--
Added paste limits

[Unit]
Description=Bin pastebin server bound on port %i
After=syslog.target network.target

[Service]
ExecStart=/usr/local/bin/bin 127.0.0.1:%i --buffer-size 10 --max-paste-size 16000
Restart=always
User={{bin_user}}

[Install]
WantedBy=multi-user.target