[Git][debian-gis-team/tirex][master] 3 commits: Add log directory for tirex.
ǝɹʇʇɐʃǝ◖ xıʃǝɟ (@xamanu)
gitlab at salsa.debian.org
Tue Aug 31 14:17:56 BST 2021
ǝɹʇʇɐʃǝ◖ xıʃǝɟ pushed to branch master at Debian GIS Project / tirex
Commits:
e3d07bd6 by Felix Delattre at 2021-08-31T13:08:21+00:00
Add log directory for tirex.
- - - - -
8f9feb08 by Felix Delattre at 2021-08-31T13:08:30+00:00
Add systemd unit for tirex-syncd.
- - - - -
fd7be078 by Felix Delattre at 2021-08-31T13:08:38+00:00
Give tirex access to stats directory.
- - - - -
5 changed files:
- debian/control
- + debian/tirex-syncd.service
- debian/tirex.dirs
- debian/tirex.postinst
- debian/tirex.prerm
Changes:
=====================================
debian/control
=====================================
@@ -20,6 +20,8 @@ Architecture: any
Depends: adduser,
libapache2-mod-tile,
libgd-gd2-perl,
+ libjson-perl,
+ libipc-sharelite-perl,
${misc:Depends},
${perl:Depends},
${shlibs:Depends},
=====================================
debian/tirex-syncd.service
=====================================
@@ -0,0 +1,12 @@
+[Unit]
+Description=Tirex sync daemon
+Documentation=man:tirex-syncd
+After=network.target auditd.service tirex-master.service
+
+[Service]
+ExecStart=/usr/bin/tirex-syncd
+KillMode=process
+Restart=on-failure
+User=_tirex
+Group=_tirex
+RuntimeDirectory=tirex
=====================================
debian/tirex.dirs
=====================================
@@ -1,3 +1,4 @@
var/cache/tirex/tiles
var/cache/tirex/tiles/test
var/cache/tirex/stats
+var/log/tirex
=====================================
debian/tirex.postinst
=====================================
@@ -22,6 +22,6 @@ case "$1" in
;;
esac
-chown _tirex:_tirex /var/cache/tirex/tiles/test
+chown _tirex:_tirex /var/cache/tirex/tiles/test /var/cache/tirex/stats /var/log/tirex
#DEBHELPER#
=====================================
debian/tirex.prerm
=====================================
@@ -13,4 +13,10 @@ then
rm -rf /var/cache/tirex/stats
fi
+# automatically remove tirex log directory
+if [ -d /var/log/tirex ]
+then
+ rm -rf /var/log/tirex
+fi
+
#DEBHELPER#
View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/compare/970eef3b76c1e93cf58c6a90a44cd5e703073e3f...fd7be078aeb2503b09f149e2d4d3af82678f2812
--
View it on GitLab: https://salsa.debian.org/debian-gis-team/tirex/-/compare/970eef3b76c1e93cf58c6a90a44cd5e703073e3f...fd7be078aeb2503b09f149e2d4d3af82678f2812
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-grass-devel/attachments/20210831/64c2a5ba/attachment-0001.htm>
More information about the Pkg-grass-devel
mailing list