From 27da8c2ef1faf81a835652267471af4584f08121 Mon Sep 17 00:00:00 2001 From: Steve Date: Mon, 7 Feb 2022 12:25:40 -0500 Subject: [PATCH] add unit file --- init/stevefolder.service | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 init/stevefolder.service diff --git a/init/stevefolder.service b/init/stevefolder.service new file mode 100644 index 0000000..da5a33d --- /dev/null +++ b/init/stevefolder.service @@ -0,0 +1,15 @@ +[Unit] +Description=Stevefolder: The fine line between shitposting and bullying +After=network.target +StartLimitIntervalSec=0 + +[Service] +Type=simple +Restart=always +RestartSec=3 +User=root +ExecStart=/srv/stevefolder/main.rb +WorkingDirectory=/srv/stevefolder + +[Install] +WantedBy=multi-user.target