From c364901df2ef04553fc7508c31446ad14ac93737 Mon Sep 17 00:00:00 2001 From: B Stack Date: Mon, 14 Feb 2022 22:49:17 -0500 Subject: r-proxy support with /set endpoint, and extra dir The extra dir is still WIP --- extra/stackbin.service | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 extra/stackbin.service (limited to 'extra/stackbin.service') diff --git a/extra/stackbin.service b/extra/stackbin.service new file mode 100644 index 0000000..f3088be --- /dev/null +++ b/extra/stackbin.service @@ -0,0 +1,20 @@ +[Unit] +Description=Stackbin pastebin service +Wants=network-online.target +After=network.target syslog.target + +[Service] +#Environment= +WorkingDirectory=/var/www/stackbin +User=stackbin +Group=stackbin +Type=simple +ExecStart=/usr/sbin/stackbin.bin +TimeoutStartSec=120 +ExecStop=/usr/sbin/uwsgi --stop /var/www/stackbin/stackbin.pid +RestartSec=15 +Restart=always +KillSignal=SIGINT + +[Install] +WantedBy=multi-user.target -- cgit