From 5ec5240debae71331b8d71ece9b51aad19056144 Mon Sep 17 00:00:00 2001 From: rkaldung Date: Fri, 22 Aug 2014 18:49:41 +0200 Subject: [PATCH] running puma w/ systemd --- script/systemd/zammad.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 script/systemd/zammad.service diff --git a/script/systemd/zammad.service b/script/systemd/zammad.service new file mode 100644 index 000000000..a3a7baac1 --- /dev/null +++ b/script/systemd/zammad.service @@ -0,0 +1,12 @@ +[Unit] +Description=Zammad Application + +[Service] +Type=forking +User=zammad +WorkingDirectory=/homer/zammad/zammad +Environment=RAILS_ENV=production +ExecStart=puma -p 3000 -d -e production + +[Install] +WantedBy=multi-user.target