balboa.service
raw| 1 | [Unit] |
| 2 | Description=Basic Little Book of Answers |
| 3 | Documentation=https://github.com/DCSO/balboa |
| 4 | After=network.target |
| 5 | |
| 6 | [Service] |
| 7 | SyslogIdentifier=balboa |
| 8 | EnvironmentFile=-/etc/default/balboa |
| 9 | ExecStart=/usr/bin/balboa serve $BALBOA_ARGS |
| 10 | ExecStop=/usr/bin/pkill balboa |
| 11 | PIDFile=/var/run/balboa/balboa.pid |
| 12 | Restart=on-failure |
| 13 | RestartSec=5 |
| 14 | |
| 15 | [Install] |
| 16 | WantedBy=multi-user.target |