PHP Classes
elePHPant
Icontem

File: examples/lookupd/lookupd.service

Recommend this page to a friend!
  Classes of Andy Pieters  >  PHP Systemd Daemon Notify  >  examples/lookupd/lookupd.service  >  Download  
File: examples/lookupd/lookupd.service
Role: Auxiliary data
Content type: text/plain
Description: Auxiliary data
Class: PHP Systemd Daemon Notify
Interact with Systemd Notification Deamon
Author: By
Last change:
Date: 1 year ago
Size: 279 bytes
 

 

Contents

Class file image Download
[Unit]
Description=Example service to lookup hostnames
After=network.target

[Service]
ExecStart=/usr/bin/php /opt/systemd-notify/examples/lookupd/lookupd-start.php
Type=notify
Restart=always
RestartSec=15
WatchdogSec=20
User=Andy
Group=Andy

[Install]
WantedBy=multi-user.target