From 3775bb5b7d5a47cc327f60ee5598e64b7c610405 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20P=C3=A9ters?= Date: Sat, 27 May 2017 18:21:25 +0200 Subject: [PATCH] debian: use RuntimeDirectory option to create /run/chrono/ (#16519) --- debian/chrono.conf | 3 --- debian/chrono.install | 1 - debian/chrono.service | 1 + 3 files changed, 1 insertion(+), 4 deletions(-) delete mode 100644 debian/chrono.conf diff --git a/debian/chrono.conf b/debian/chrono.conf deleted file mode 100644 index 34f4c632..00000000 --- a/debian/chrono.conf +++ /dev/null @@ -1,3 +0,0 @@ -# Type Path Mode UID GID Age Argument -# See tmpfiles.d(5) for details - d /run/chrono 0755 chrono chrono - - diff --git a/debian/chrono.install b/debian/chrono.install index 816f47b5..d95a6a25 100644 --- a/debian/chrono.install +++ b/debian/chrono.install @@ -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 diff --git a/debian/chrono.service b/debian/chrono.service index b18e74e5..9361fd41 100644 --- a/debian/chrono.service +++ b/debian/chrono.service @@ -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