debian/service
raw| 1 | [Unit] |
| 2 | Description=dns-flood-detector daemon |
| 3 | |
| 4 | [Service] |
| 5 | Environment=PIDFILE=/var/run/dns-flood-detector.pid |
| 6 | EnvironmentFile=-/etc/default/dns-flood-detector |
| 7 | ExecStart=/usr/sbin/dns-flood-detector $DAEMON_OPTS |
| 8 | ExecReload=/bin/kill -HUP $MAINPID |
| 9 | KillMode=process |
| 10 | Restart=on-failure |
| 11 | Type=notify |
| 12 | |
| 13 | [Install] |
| 14 | WantedBy=multi-user.target |