projects
/
trust_router.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3054cdf
)
Don't recreate the log directory if it is still available
author
Adam Bishop
<adam@omega.org.uk>
Wed, 3 Sep 2014 13:02:02 +0000
(14:02 +0100)
committer
Adam Bishop
<adam@omega.org.uk>
Wed, 3 Sep 2014 13:02:02 +0000
(14:02 +0100)
trust_router.spec
patch
|
blob
|
history
diff --git
a/trust_router.spec
b/trust_router.spec
index
68a43f7
..
323a55c
100644
(file)
--- a/
trust_router.spec
+++ b/
trust_router.spec
@@
-96,7
+96,7
@@
chown trustrouter:trustrouter /var/lib/trust_router/keys
chmod 660 /var/lib/trust_router/keys
# Log Directory
-mkdir /var/log/trust_router
+
test -d /var/log/trust_router ||
mkdir /var/log/trust_router
chown root:trustrouter /var/log/trust_router
chmod 770 /var/log/trust_router