added systemd services
This commit is contained in:
12
systemd/pdns-tsig-from-catalog.service
Normal file
12
systemd/pdns-tsig-from-catalog.service
Normal file
@@ -0,0 +1,12 @@
|
||||
[Unit]
|
||||
Description=Running pdns-tsig-from-catalog script
|
||||
Wants=pdns-tsig-from-catalog.timer
|
||||
|
||||
[Service]
|
||||
Type=oneshot
|
||||
WorkingDirectory=/opt/scripts/pdns-tsig-from-catalog/
|
||||
Environment="PATH=/opt/scripts/pdns-tsig-from-catalog/.venv/bin/"
|
||||
ExecStart=python pdns-tsig-from-catalog.py
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
Reference in New Issue
Block a user