File run-dir.patch of Package stalld

diff --git a/systemd/stalld.service b/systemd/stalld.service
index c80ba24..5da3a4e 100644
--- a/systemd/stalld.service
+++ b/systemd/stalld.service
@@ -7,8 +7,8 @@ Type=simple
 # Type=forking
 EnvironmentFile=/etc/sysconfig/stalld
 ExecStartPre=/usr/bin/throttlectl off
-ExecStartPre=/usr/bin/mkdir -p /run/stalld
-
+RuntimeDirectory=stalld
+RuntimeDirectoryMode=0700
 # In case the regex passed to IT or IP includes C escape sequences,
 # use ${IT} or ${IP} instead of $IT or $IP
 ExecStart=/usr/bin/stalld --systemd $CLIST $AGGR $BP $BR $BD $THRESH $LOGGING $FG $PF $IT $IP $BE
openSUSE Build Service is sponsored by