debian: use RuntimeDirectory option to create /run/chrono/ (#16519)

This commit is contained in:
Frédéric Péters 2017-05-27 18:21:25 +02:00
parent dfdf4621aa
commit 3775bb5b7d
3 changed files with 1 additions and 4 deletions

3
debian/chrono.conf vendored
View File

@ -1,3 +0,0 @@
# Type Path Mode UID GID Age Argument
# See tmpfiles.d(5) for details
d /run/chrono 0755 chrono chrono - -

View File

@ -1,5 +1,4 @@
debian/chrono.service /lib/systemd/system
debian/chrono.conf /usr/lib/tmpfiles.d
debian/chrono-manage /usr/bin
debian/settings.py /etc/chrono
debian/debian_config.py /usr/lib/chrono

View File

@ -19,6 +19,7 @@ ExecStart=/usr/bin/gunicorn \
ExecReload=/bin/kill -HUP $MAINPID
PrivateTmp=true
Restart=on-failure
RuntimeDirectory=chrono
[Install]
WantedBy=multi-user.target