diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-10 12:20:03 -0400 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2017-04-23 21:47:27 -0400 |
commit | a3e34ac80d223461611d6768b11eb4735b90cb67 (patch) | |
tree | 5f6caceb3a9ca96eaf03e8b53119e1bffec9804b | |
parent | 7b76fce1a5d2590524f713586d2b38dca5224ef0 (diff) | |
download | systemd-a3e34ac80d223461611d6768b11eb4735b90cb67.tar.gz |
meson: create /var/log/journal/remote
C.f. https://github.com/mesonbuild/meson/issues/1604.
-rw-r--r-- | src/journal-remote/meson.build | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/journal-remote/meson.build b/src/journal-remote/meson.build index 8c89d258cf..ca05390244 100644 --- a/src/journal-remote/meson.build +++ b/src/journal-remote/meson.build @@ -43,3 +43,9 @@ endif install_data('browse.html', install_dir : pkgdatadir + '/gatewayd') + +meson.add_install_script('sh', '-c', + mkdir_p.format('/var/log/journal/remote')) +meson.add_install_script('sh', '-c', + '''chown 0:0 $DESTDIR/var/log/journal/remote; + chmod 755 $DESTDIR/var/log/journal/remote''') |