From 1938c5f856167033a4f909dd9145382ee10057e8 Mon Sep 17 00:00:00 2001 From: codl Date: Thu, 3 Aug 2017 22:48:45 +0200 Subject: [PATCH] add example systemd service file --- forget.example.service | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 forget.example.service diff --git a/forget.example.service b/forget.example.service new file mode 100644 index 0000000..a78ac66 --- /dev/null +++ b/forget.example.service @@ -0,0 +1,11 @@ +[Unit] +Description=Forget web application server + +[Install] +WantedBy=multi-user.target + +[Service] +Type=simple +WorkingDirectory=/home/codl/forget +ExecStart=/bin/bash -c "source venv/bin/activate; honcho start" +User=codl