54fc3e1
From e3cfccda2f8f12b7e173d007f43698038c4a2cfa Mon Sep 17 00:00:00 2001
54fc3e1
From: Andrew Bauer <knnniggett@hotmail.com>
54fc3e1
Date: Sun, 3 Mar 2019 15:05:12 -0600
54fc3e1
Subject: [PATCH] use execstartpre to create netatalk tmpfile config
54fc3e1
54fc3e1
---
54fc3e1
 distrib/initscripts/service.systemd.tmpl | 1 +
54fc3e1
 1 file changed, 1 insertion(+)
54fc3e1
54fc3e1
diff --git a/distrib/initscripts/service.systemd.tmpl b/distrib/initscripts/service.systemd.tmpl
54fc3e1
index 670f1445..76f38b22 100644
54fc3e1
--- a/distrib/initscripts/service.systemd.tmpl
54fc3e1
+++ b/distrib/initscripts/service.systemd.tmpl
54fc3e1
@@ -9,6 +9,7 @@ After=syslog.target network.target avahi-daemon.service
54fc3e1
 [Service]
54fc3e1
 Type=forking
54fc3e1
 GuessMainPID=no
54fc3e1
+ExecStartPre=-/usr/bin/systemd-tmpfiles --create /usr/lib/tmpfiles.d/netatalk.conf
54fc3e1
 ExecStart=:SBINDIR:/netatalk
54fc3e1
 PIDFile=:PATH_NETATALK_LOCK:
54fc3e1
 ExecReload=/bin/kill -HUP $MAINPID