Pramod
Pramod

Reputation: 848

How to configure systemd to start and monitor a service in RHEL 7

We are upgrading to RHEL 7. We have our own platform watchdog but now we want to use watchdog provided by RHEL 7. I need to know how can I configure RHEL 7 watchdog to start and monitor a service.

Upvotes: 0

Views: 915

Answers (2)

kiko
kiko

Reputation: 72

Add new service into /etc/systemd/system/ For example: my.service

[Unit]
Description=Our service

[Service]
ExecStart=/usr/bin/vde_switch --tap tap0 --mode 0660 \
 --dirmode 0750 --group qemu

[Install]
WantedBy=multi-user.target

Next

systemctl start my.service

Upvotes: 0

aysabzevar
aysabzevar

Reputation: 1172

Everything you will need is here

Upvotes: 1

Related Questions