This repository has been archived by the owner on Jun 23, 2022. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
systemd: use
LogsDirecoty=
to persist data
Previously used `StateDirectory=` to persist pinger specific data across bootups. It turns out that systemd does not allow sharing state directory across different dynamic users. An example would be: ``` $ systemd-run --pty --property=DynamicUser=yes --property=StateDirectory=wuff /bin/sh $ systemd-run --pty --property=DynamicUser=yes --property=StateDirectory=wuff /bin/sh ``` Reference: http://0pointer.net/blog/dynamic-users-with-systemd.html Signed-off-by: Allen Bai <abai@redhat.com>
- Loading branch information