From 43e17adffc0219bba3bb1490935ffb1b5d4c1d96 Mon Sep 17 00:00:00 2001 From: pks Date: Sun, 21 Mar 2021 15:26:26 +0100 Subject: systemd service file --- up-www.service | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 up-www.service diff --git a/up-www.service b/up-www.service new file mode 100644 index 0000000..f7d00c0 --- /dev/null +++ b/up-www.service @@ -0,0 +1,16 @@ +[Unit] +Description=up www service +After=network.target + +[Service] +User=root +Environment=GEM_HOME=/usr/local/lib/ruby/2.5.0 +Environment=APP_ENV=production +ExecStart=/usr/local/src/up/up-www.rb +Restart=on-failure +StandardOutput=syslog +StandardError=syslog +SyslogIdentifier=up-www + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3