first commit
This commit is contained in:
commit
dd50a0d05e
31 files changed
+5299
No files matched your search
Executable
+19
@@ -0,0 +1,19 @@
|
||||
[Unit]
|
||||
Description=proxdomain: assign domains to new Proxmox guests
|
||||
Documentation=file:///opt/proxdomain/README.md
|
||||
After=network-online.target pve-cluster.service
|
||||
Wants=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
# Secrets live here, not in the config file:
|
||||
# PROXDOMAIN_PVE_TOKEN=...
|
||||
# PROXDOMAIN_CF_TOKEN=...
|
||||
EnvironmentFile=-/etc/proxdomain/env
|
||||
Environment=PROXDOMAIN_CONFIG=/etc/proxdomain/config.toml
|
||||
ExecStart=/usr/local/bin/proxdomain watch --once --auto-assign
|
||||
# The service only talks to the PVE API and local nginx; it needs no home.
|
||||
NoNewPrivileges=true
|
||||
PrivateTmp=true
|
||||
ProtectHome=true
|
||||
ReadWritePaths=/etc/nginx/conf.d/proxdomain.d /var/lib/proxdomain /var/www/certbot
|
||||
Reference in new issue
Block a user