Advertisement
Guest User

Untitled

a guest
May 25th, 2019
8
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1.  
  2. root@proxmox:~# cat /etc/systemd/system/acme-watcher.service
  3. [Unit]
  4. Description=Acme watcher
  5. After=network.target
  6.  
  7. [Service]
  8. Type=oneshot
  9. ExecStart=/bin/systemctl reload nginx.service
  10.  
  11. [Install]
  12. WantedBy=multi-user.target
  13.  
  14.  
  15.  
  16. root@proxmox:~# cat /etc/systemd/system/acme-watcher.path
  17. [Path]
  18. PathModified=/etc/pve/local/pveproxy-ssl.pem
  19.  
  20. [Install]
  21. WantedBy=multi-user.target
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement