From 696bf7798e8d0b4b76ca7f3686e7f724a38d003f Mon Sep 17 00:00:00 2001 From: Matthew Date: Wed, 24 Jan 2024 11:15:50 -0500 Subject: [PATCH] service file --- ramirez-autoreply.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 ramirez-autoreply.service diff --git a/ramirez-autoreply.service b/ramirez-autoreply.service new file mode 100644 index 0000000..e709527 --- /dev/null +++ b/ramirez-autoreply.service @@ -0,0 +1,12 @@ +[Unit] +Description=Ramirez (sunset autoreply) +Wants=network-online.target +After=network-online.target + +[Service] +ExecStart=/opt/ramirez-autoreply/main.js +WorkingDirectory=/opt/ramirez-autoreply +Restart=on-failure + +[Install] +WantedBy=multi-user.target