EHCP-Force-Edition/ehcp/scripts/start_policyd.sh
2018-04-02 16:26:17 -06:00

8 lines
255 B
Bash
Executable file

#!/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