From ff7f570ab1b079698b3619e19e40fb3e6ee1865c Mon Sep 17 00:00:00 2001 From: Jonathan Bernard Date: Sat, 25 Nov 2017 20:44:53 -0600 Subject: [PATCH] Added systemd unit file. --- src/main/systemd/strawboss.service | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 src/main/systemd/strawboss.service diff --git a/src/main/systemd/strawboss.service b/src/main/systemd/strawboss.service new file mode 100644 index 0000000..dad31e3 --- /dev/null +++ b/src/main/systemd/strawboss.service @@ -0,0 +1,9 @@ +[Unit] +Description=StrawBoss build server. + +[Service] +Type=simple +User=strawboss +WorkingDirectory=/home/strawboss +ExecStart=/home/strawboss/strawboss +Restart=on-failure