mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-04-28 03:40:03 +00:00
Set up directories and enable Technitium DNS service
Create necessary directories for Technitium DNS service and update systemd service file.
This commit is contained in:
parent
b78cdb4008
commit
ed57d19855
1 changed files with 1 additions and 0 deletions
|
|
@ -28,6 +28,7 @@ fetch_and_deploy_from_url "https://download.technitium.com/dns/DnsServerPortable
|
||||||
echo "${RELEASE}" >~/.technitium
|
echo "${RELEASE}" >~/.technitium
|
||||||
|
|
||||||
msg_info "Creating service"
|
msg_info "Creating service"
|
||||||
|
mkdir -p /etc/dns /var/log/technitium/dns
|
||||||
sed -i '/^User=/d;/^Group=/d' /opt/technitium/dns/systemd.service
|
sed -i '/^User=/d;/^Group=/d' /opt/technitium/dns/systemd.service
|
||||||
cp /opt/technitium/dns/systemd.service /etc/systemd/system/technitium.service
|
cp /opt/technitium/dns/systemd.service /etc/systemd/system/technitium.service
|
||||||
systemctl enable -q --now technitium
|
systemctl enable -q --now technitium
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue