From d5b969a1b327d075dac7dc6360ff0cef648f7417 Mon Sep 17 00:00:00 2001 From: William Mantly Date: Mon, 15 Mar 2021 14:09:54 -0400 Subject: [PATCH] Create proxy.service --- ops/proxy.service | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 ops/proxy.service diff --git a/ops/proxy.service b/ops/proxy.service new file mode 100644 index 0000000..dd4f440 --- /dev/null +++ b/ops/proxy.service @@ -0,0 +1,14 @@ +[Unit] +Description=web proxy service +After=network.target +StartLimitIntervalSec=0 + +[Service] +Type=simple +Restart=always +RestartSec=1 +User=root +ExecStart=/usr/bin/env node /var/www/proxy/nodejs/bin/www + +[Install] +WantedBy=multi-user.target