Replace /var/run with /run for the Service PIDFile.
Changes-By: lintian-brush
Fixes: lintian: systemd-service-file-refers-to-var-run
See-also: https://lintian.debian.org/tags/systemd-service-file-refers-to-var-run.html
Debian Janitor
1 year, 14 days ago
0 | 0 |
dante (1.4.2+dfsg-8) UNRELEASED; urgency=medium
|
1 | 1 |
|
|
2 |
[ Peter Pentchev ]
|
2 | 3 |
* Declare compliance with Policy 4.5.0 with no changes.
|
3 | 4 |
* Add the year 2020 to my debian/* copyright notice.
|
4 | 5 |
* Bump the debhelper compatibility level to 13:
|
|
6 | 7 |
will not execute it at all unless it is needed
|
7 | 8 |
- use "execute_after" for the "auto_clean" target
|
8 | 9 |
- drop the "dh_missing" override; "--fail-missing" is the default now
|
|
10 |
|
|
11 |
[ Debian Janitor ]
|
|
12 |
* Replace /var/run with /run for the Service PIDFile.
|
9 | 13 |
|
10 | 14 |
-- Peter Pentchev <roam@debian.org> Sun, 29 Mar 2020 02:24:41 +0200
|
11 | 15 |
|
7 | 7 |
PIDFile=/run/danted.pid
|
8 | 8 |
ExecStart=/usr/sbin/danted
|
9 | 9 |
ExecStartPre=/bin/sh -c ' \
|
10 | |
uid=`sed -n -e "s/[[:space:]]//g" -e "s/#.*//" -e "/^user\\.privileged/{s/[^:]*://p;q;}" /etc/danted.conf`; \
|
11 | |
if [ -n "$uid" ]; then \
|
12 | |
touch /var/run/danted.pid; \
|
13 | |
chown $uid /var/run/danted.pid; \
|
14 | |
fi \
|
15 | |
'
|
|
10 |
uid=`sed -n -e "s/[[:space:]]//g" -e "s/#.*//" -e "/^user\\.privileged/{s/[^:]*://p;q;}" /etc/danted.conf`; \
|
|
11 |
if [ -n "$uid" ]; then \
|
|
12 |
touch /var/run/danted.pid; \
|
|
13 |
chown $uid /var/run/danted.pid; \
|
|
14 |
fi \
|
|
15 |
'
|
16 | 16 |
PrivateTmp=yes
|
17 | 17 |
InaccessibleDirectories=/boot /home /media /mnt /opt /root
|
18 | 18 |
ReadOnlyDirectories=/bin /etc /lib -/lib64 /sbin /usr /var
|