systemd integration
This commit is contained in:
parent
4d04b50c1f
commit
2350d9282b
4 changed files with 20 additions and 2 deletions
6
debian/changelog
vendored
6
debian/changelog
vendored
|
@ -1,3 +1,9 @@
|
|||
libreant (0.3-3) testing; urgency=medium
|
||||
|
||||
* systemd service
|
||||
|
||||
-- boyska <piuttosto@logorroici.org> Sun, 27 Dec 2015 00:48:28 +0100
|
||||
|
||||
libreant (0.3-2) testing; urgency=medium
|
||||
|
||||
* default config (unused)
|
||||
|
|
3
debian/control
vendored
3
debian/control
vendored
|
@ -8,7 +8,8 @@ Build-Depends: debhelper (>= 9), dh-python, python-all (>=2.6), python-setuptool
|
|||
python-click, python-elasticsearch, python-flask, python-flask-babel, python-flask-script,
|
||||
python-opensearch,
|
||||
python-peewee,
|
||||
python-flask-bootstrap
|
||||
python-flask-bootstrap,
|
||||
dh-systemd
|
||||
Standards-Version: 3.9.4
|
||||
X-Python-Version: >= 2.7
|
||||
|
||||
|
|
11
debian/python-libreant.service
vendored
Normal file
11
debian/python-libreant.service
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
[Unit]
|
||||
Description=book sharing solution
|
||||
Documentation=https://libreant.readthedocs.org/en/v0.3/
|
||||
|
||||
[Service]
|
||||
User=nobody
|
||||
Environment=LIBREANT_SETTINGS=/etc/libreant/libreant.conf
|
||||
ExecStart=/usr/bin/libreant
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -3,4 +3,4 @@
|
|||
export PYBUILD_NAME = libreant
|
||||
|
||||
%:
|
||||
dh $@ --with python2
|
||||
dh $@ --with python2 --with systemd
|
||||
|
|
Loading…
Reference in a new issue