From c6f2d1336ab2132ecf78dae25922dd14ec6ac85b Mon Sep 17 00:00:00 2001 From: Alex Brow Date: Mon, 17 Feb 2020 00:01:41 -0500 Subject: [PATCH] making osselbot service --- src/osselbot.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/osselbot.service diff --git a/src/osselbot.service b/src/osselbot.service new file mode 100644 index 0000000..878ed0d --- /dev/null +++ b/src/osselbot.service @@ -0,0 +1,15 @@ +[Unit] +Description="Osselbot coded for civilians all partying" + +[Service] +ExecStart=/home/tech1/Osselbot/src/bot-start.sh +Restart=always +User=tech1 +# Note Debian/Ubuntu uses 'nogroup', RHEL/Fedora uses 'nobody' +Group=nogroup +Environment=PATH=/usr/bin:/usr/local/bin +Environment=NODE_ENV=production +WorkingDirectory=/home/tech1/Osselbot/src/ + +[Install] +WantedBy=multi-user.target