add files
This commit is contained in:
10
proxmox/pfSense/startPfSense.service
Normal file
10
proxmox/pfSense/startPfSense.service
Normal file
@ -0,0 +1,10 @@
|
||||
[Unit]
|
||||
Description=Start PfSense without quorum
|
||||
After=pve-cluster.service
|
||||
|
||||
[Service]
|
||||
type=oneshot
|
||||
ExecStart=/root/startPfSense.sh
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
9
proxmox/pfSense/startPfSense.sh
Normal file
9
proxmox/pfSense/startPfSense.sh
Normal file
@ -0,0 +1,9 @@
|
||||
#!/bin/bash
|
||||
|
||||
sleep 5
|
||||
systemctl stop pve-cluster
|
||||
pmxcfs -l
|
||||
qm start 102
|
||||
sleep 5
|
||||
killall pmxcfs
|
||||
systemctl start pve-cluster
|
Reference in New Issue
Block a user