diff options
author | Matt Singleton <msingleton@aclu.org> | 2017-04-22 11:12:13 -0400 |
---|---|---|
committer | Matt Singleton <msingleton@aclu.org> | 2017-04-22 11:12:13 -0400 |
commit | 76336db3237e122515f0ecec8c6a6c86790117c2 (patch) | |
tree | 93865a6cbf6bccb4375b1e8038da8103972816bd | |
parent | 020c9908def3a816e05984c3ee55457fc423a931 (diff) |
systemd daemon service config
-rw-r--r-- | etc/unbiased.service | 12 |
1 files changed, 12 insertions, 0 deletions
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 |