debian/zephyrd-krb5.service
raw| 1 | [Unit] |
| 2 | Description=Zephyr Server (Kerberos) |
| 3 | Documentation=man:zephyrd(8) |
| 4 | After=network.target remote-fs.target |
| 5 | |
| 6 | [Service] |
| 7 | Type=forking |
| 8 | PIDFile=/run/zephyrd.pid |
| 9 | ExecStartPre=/usr/bin/test -f /etc/zephyr/krb5.keytab |
| 10 | ExecStart=/usr/sbin/zephyrd |
| 11 | ExecReload=/bin/kill -HUP $MAINPID |
| 12 | Restart=on-failure |
| 13 | RestartSec=5s |
| 14 | |
| 15 | # Not sure whether some dedicated user should be used instead |
| 16 | User=root |
| 17 | Group=root |
| 18 | |
| 19 | [Install] |
| 20 | WantedBy=multi-user.target |
| 21 |