From cb5ecf28c231763255bad19095907806da1b8cf2 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Jun 18 2015 11:04:27 +0000 Subject: Add a systemd init file for the pagure-ev service --- diff --git a/ev-server/pagure_ev.service b/ev-server/pagure_ev.service new file mode 100644 index 0000000..fc98702 --- /dev/null +++ b/ev-server/pagure_ev.service @@ -0,0 +1,15 @@ +[Unit] +Description=Pagure EventSource server (Allowing live refresh of the pages +supporting it) +After=network.target +Documentation=https://pagure.io/pagure + +[Service] +ExecStart=/usr/bin/python2 /usr/share/pagure/pagure-stream-server.py +Type=simple +User=git +Group=git +Restart=on-failure + +[Install] +WantedBy=multi-user.target