debian/zhm.service
raw| 1 | i[Unit] |
| 2 | Description=Zephyr Host Manager |
| 3 | Documentation=man:zhm(8) |
| 4 | After=network.target remote-fs.target |
| 5 | |
| 6 | [Service] |
| 7 | Type=forking |
| 8 | PIDFile=/run/zhm.pid |
| 9 | EnvironmentFile=-/etc/default/zephyr-clients |
| 10 | ExecStart=/usr/sbin/zhm $zhm_args |
| 11 | Restart=on-failure |
| 12 | RestartSec=5s |
| 13 | |
| 14 | User=root |
| 15 | Group=root |
| 16 | |
| 17 | [Install] |
| 18 | WantedBy=multi-user.target |
| 19 |