EHCP-Force-Edition/ehcp/scripts/start_policyd.sh

9 lines
255 B
Bash
Raw Normal View History

2018-04-02 22:26:17 +00:00
#!/bin/bash
# Used by systemd to start policyd
# By Eric Arnol-Martin <earnolmartin@gmail.com>
if [ ! -e "/var/run/cbpolicyd" ]; then
mkdir -p "/var/run/cbpolicyd"
chown cbpolicyd:cbpolicyd -R "/var/run/cbpolicyd"
fi
/etc/cbpolicyd/run_policyd_async.sh