Browse Source

Packaging cleanup

* Declare compliance with policy 4.7.4
* Reformat service file
Christoph Biedl 2 days ago
parent
commit
5d04c955e1
2 changed files with 6 additions and 6 deletions
  1. 1 1
      debian/control
  2. 5 5
      debian/ngircd.service

+ 1 - 1
debian/control

@@ -1,7 +1,7 @@
 Source: ngircd
 Maintainer: Christoph Biedl <debian.axhn@manchmal.in-ulm.de>
 Homepage: https://ngircd.barton.de/
-Standards-Version: 4.6.2
+Standards-Version: 4.7.4
 Vcs-Browser: https://git.in-ulm.de/cbiedl/ngircd
 Vcs-Git: https://git.in-ulm.de/cbiedl/ngircd.git
 Build-Depends: debhelper-compat (= 13),

+ 5 - 5
debian/ngircd.service

@@ -5,19 +5,19 @@ After=network.target
 
 [Service]
 Type=forking
+ExecStart=/usr/sbin/ngircd
+ExecReload=/bin/kill -HUP $MAINPID
+Restart=on-failure
 User=irc
 Group=irc
 CapabilityBoundingSet=CAP_SETUID CAP_SETGID CAP_SYS_CHROOT CAP_NET_BIND_SERVICE
+NoNewPrivileges=true
 PrivateTmp=yes
 PrivateDevices=yes
 ProtectSystem=full
 ProtectHome=true
-NoNewPrivileges=true
-RuntimeDirectory=ngircd
 RuntimeDirectoryMode=750
-ExecStart=/usr/sbin/ngircd
-ExecReload=/bin/kill -HUP $MAINPID
-Restart=on-failure
+RuntimeDirectory=ngircd
 
 [Install]
 WantedBy=multi-user.target