mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
[fix] Fix some lintian issues and add yunohost-firewall.service
This commit is contained in:
parent
37c84a6c08
commit
15ccd60545
4 changed files with 23 additions and 5 deletions
8
debian/control
vendored
8
debian/control
vendored
|
@ -2,14 +2,14 @@ Source: yunohost
|
|||
Section: utils
|
||||
Priority: extra
|
||||
Maintainer: YunoHost Contributors <contrib@yunohost.org>
|
||||
Build-Depends: debhelper (>=9), dh-systemd, dh-python
|
||||
Build-Depends: debhelper (>=9), dh-systemd, dh-python, python-all (>= 2.7)
|
||||
Standards-Version: 3.9.6
|
||||
X-Python-Version: >= 2.7
|
||||
Homepage: https://yunohost.org/
|
||||
|
||||
Package: yunohost
|
||||
Architecture: all
|
||||
Depends: ${misc:Depends}, ${shlibs:Depends}, ${python:Depends},
|
||||
Depends: ${python:Depends}, ${misc:Depends},
|
||||
moulinette (>= 2.2.1),
|
||||
python-psutil,
|
||||
python-requests,
|
||||
|
@ -51,8 +51,8 @@ Replaces: moulinette-yunohost, yunohost-config,
|
|||
yunohost-config-dovecot, yunohost-config-slapd,
|
||||
yunohost-config-nginx, yunohost-config-amavis,
|
||||
yunohost-config-mysql, yunohost-predepends
|
||||
Description: YunoHost installation package
|
||||
The goal of YunoHost is to make self-hosting accessible to everyone. It
|
||||
Description: manageable and configured self-hosting server
|
||||
YunoHost aims to to make self-hosting accessible to everyone. It
|
||||
configures an email, Web and IM server alongside a LDAP base. It also
|
||||
provides facilities to manage users, domains, apps and so.
|
||||
.
|
||||
|
|
4
debian/postinst
vendored
4
debian/postinst
vendored
|
@ -38,3 +38,7 @@ case "$1" in
|
|||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
#DEBHELPER#
|
||||
|
||||
exit 0
|
||||
|
|
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -5,7 +5,7 @@
|
|||
#export DH_VERBOSE=1
|
||||
|
||||
%:
|
||||
dh ${@} --with=systemd
|
||||
dh ${@} --with=systemd,python2
|
||||
|
||||
override_dh_installinit:
|
||||
dh_installinit --name=yunohost-api
|
||||
|
|
14
debian/yunohost-firewall.service
vendored
Normal file
14
debian/yunohost-firewall.service
vendored
Normal file
|
@ -0,0 +1,14 @@
|
|||
[Unit]
|
||||
Description=YunoHost Firewall
|
||||
Requires=network.target
|
||||
After=network.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
ExecStart=/usr/bin/yunohost firewall reload
|
||||
ExecReload=/usr/bin/yunohost firewall reload
|
||||
ExecStop=/usr/bin/yunohost firewall stop
|
||||
RemainAfterExit=yes
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Add table
Reference in a new issue