From 76336db3237e122515f0ecec8c6a6c86790117c2 Mon Sep 17 00:00:00 2001 From: Matt Singleton Date: Sat, 22 Apr 2017 11:12:13 -0400 Subject: systemd daemon service config --- etc/unbiased.service | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 etc/unbiased.service (limited to 'etc/unbiased.service') diff --git a/etc/unbiased.service b/etc/unbiased.service new file mode 100644 index 0000000..391e4ff --- /dev/null +++ b/etc/unbiased.service @@ -0,0 +1,12 @@ +[Unit] +Description=Unbiased News + +[Service] +Type=simple +ExecStart=/opt/unbiased/venv/bin/unbiased /opt/unbiased/webroot -l /opt/unbiased/logs +WorkingDirectory=/opt/unbiased +User=www-data +Restart=on-failure + +[Install] +WantedBy=multi-user.target -- cgit v1.2.3