First Commit
This commit is contained in:
parent
51ca26f5ce
commit
f961bc6c5a
8 changed files with 1123 additions and 61 deletions
31
porkbun-ddns.service
Normal file
31
porkbun-ddns.service
Normal file
|
|
@ -0,0 +1,31 @@
|
|||
[Unit]
|
||||
Description=Porkbun Dynamic DNS Update
|
||||
Documentation=file:///home/kacper/Documents/platformIO/email/porkbun/README.md
|
||||
After=network-online.target
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
User=kacper
|
||||
Group=kacper
|
||||
WorkingDirectory=/home/kacper/Documents/platformIO/email/porkbun
|
||||
ExecStart=/home/kacper/Documents/platformIO/email/porkbun/updateDNS.sh
|
||||
|
||||
# Security hardening
|
||||
PrivateTmp=yes
|
||||
NoNewPrivileges=yes
|
||||
ProtectSystem=strict
|
||||
ProtectHome=read-only
|
||||
ReadWritePaths=/home/kacper/Documents/platformIO/email/porkbun
|
||||
|
||||
# Logging
|
||||
StandardOutput=journal
|
||||
StandardError=journal
|
||||
SyslogIdentifier=porkbun-ddns
|
||||
|
||||
# Restart on failure
|
||||
Restart=on-failure
|
||||
RestartSec=30
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Loading…
Add table
Add a link
Reference in a new issue