diff options
| author | Luke Hoersten <[email protected]> | 2024-02-10 15:40:23 -0600 |
|---|---|---|
| committer | Luke Hoersten <[email protected]> | 2024-02-10 15:40:23 -0600 |
| commit | 00f35328ecd7fb71e24d271991083aa76a48d441 (patch) | |
| tree | a67744420f5d2a55c312325726075a318d745a30 /bin/server/templates/[email protected] | |
| parent | 04edbf561c44e28753cbbaa3870b23b220cc644c (diff) | |
Added pastebin bin role.
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 |
