cp: cannot stat 'unbound-exporter.service': No such file or directory
cweilemann opened this issue · 1 comments
cweilemann commented
The title is kind of self-explanatory... :) I'm running into an issue where the unbound-exporter.service
doesn't seem to exist.
I tried your walkthrough twice. Suggestions? Thanks!
liang-hiwin commented
You can write the content of " unbound_exporter.service" like this
[Unit]
Description=unbound_exporter service
After=syslog.target network-online.target
[Service]
StartLimitInterval=5
StartLimitBurst=10
ExecStart=/usr/bin/unbound_exporter
WorkingDirectory=/usr/bin/
Restart=always
RestartSec=10
EnvironmentFile=-/usr/bin/
[Install]
WantedBy=multi-user.target