Skip to content

Commit eebe7d0

Browse files
committed
Added OPNsense cron action.
1 parent 9eb3c1d commit eebe7d0

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
[cron-freenas-deploy]
2+
command:/root/deploy-freenas/deploy-freenas.py
3+
parameters:
4+
type:script
5+
message:Deploy TLS cert to FreeNAS
6+
description:Deploy TLS certificates to FreeNAS servers

util/opnsense/install.sh

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
#!/usr/bin/env sh
2+
3+
DIR=$(cd `dirname $0` && pwd)
4+
5+
# Make service links
6+
ln -Fs /var/etc/acme-client/home/ /root/.acme.sh
7+
8+
# Install action
9+
ln -Fs ${DIR}/actions_deploy_freenas.conf /usr/local/opnsense/service/conf/actions.d/actions_deploy_freenas.conf
10+
11+
# Reload config daemon
12+
service configd restart

0 commit comments

Comments
 (0)