[Python-modules-commits] [jupyter-notebook] 01/01: Add systemd user unit
Gordon Ball
chronitis-guest at moszumanska.debian.org
Fri Dec 9 15:11:41 UTC 2016
This is an automated email from the git hooks/post-receive script.
chronitis-guest pushed a commit to branch master
in repository jupyter-notebook.
commit 25190f76f873a0902beacbf8c703e16df8e400d1
Author: Gordon Ball <gordon at chronitis.net>
Date: Fri Dec 9 15:01:57 2016 +0100
Add systemd user unit
---
debian/changelog | 1 +
debian/jupyter-notebook.install | 1 +
debian/systemd-user/jupyter-notebook.service | 9 +++++++++
3 files changed, 11 insertions(+)
diff --git a/debian/changelog b/debian/changelog
index 847f84f..92b5604 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
jupyter-notebook (4.2.3-3) UNRELEASED; urgency=medium
* Fix build breakage with requirejs 2.3
+ * Add a systemd user unit (jupyter-notebook.service)
-- Gordon Ball <gordon at chronitis.net> Fri, 09 Dec 2016 14:37:25 +0100
diff --git a/debian/jupyter-notebook.install b/debian/jupyter-notebook.install
index e772481..7d9c7c1 100644
--- a/debian/jupyter-notebook.install
+++ b/debian/jupyter-notebook.install
@@ -1 +1,2 @@
usr/bin
+debian/systemd-user/jupyter-notebook.service usr/lib/systemd/user
diff --git a/debian/systemd-user/jupyter-notebook.service b/debian/systemd-user/jupyter-notebook.service
new file mode 100644
index 0000000..2f1e650
--- /dev/null
+++ b/debian/systemd-user/jupyter-notebook.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Jupyter Notebook
+Documentation=man:jupyter-notebook
+
+[Service]
+ExecStart=/usr/bin/jupyter-notebook --no-browser
+
+[Install]
+WantedBy=default.target
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/python-modules/packages/jupyter-notebook.git
More information about the Python-modules-commits
mailing list