src.nth.io/

summaryrefslogtreecommitdiff
path: root/bin/server/templates/[email protected]
diff options
context:
space:
mode:
Diffstat (limited to 'bin/server/templates/[email protected]')
-rw-r--r--bin/server/templates/[email protected]11
1 files changed, 11 insertions, 0 deletions
diff --git a/bin/server/templates/[email protected] b/bin/server/templates/[email protected]
new file mode 100644
index 0000000..697bb79
--- /dev/null
+++ b/bin/server/templates/[email protected]
@@ -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