bin/server/templates/[email protected]
changeset 228 ff776d663062
child 231 e3ebf2a606ea
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/server/templates/[email protected]	Sat Feb 10 15:40:23 2024 -0600
@@ -0,0 +1,11 @@
+[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 16kB
+Restart=always
+User={{bin_user}}
+
+[Install]
+WantedBy=multi-user.target