| 1 | ;;; -*-conf-windows-*- |
| 2 | ;;; |
| 3 | ;;; systemd service configuration for tripe services [@service@] |
| 4 | ;;; |
| 5 | ;;; (c) 2014 Mark Wooding |
| 6 | ;;; |
| 7 | |
| 8 | ;;;----- Licensing notice --------------------------------------------------- |
| 9 | ;;; |
| 10 | ;;; This file is part of Trivial IP Encryption (TrIPE). |
| 11 | ;;; |
| 12 | ;;; TrIPE is free software: you can redistribute it and/or modify it under |
| 13 | ;;; the terms of the GNU General Public License as published by the Free |
| 14 | ;;; Software Foundation; either version 3 of the License, or (at your |
| 15 | ;;; option) any later version. |
| 16 | ;;; |
| 17 | ;;; TrIPE is distributed in the hope that it will be useful, but WITHOUT |
| 18 | ;;; ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or |
| 19 | ;;; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
| 20 | ;;; for more details. |
| 21 | ;;; |
| 22 | ;;; You should have received a copy of the GNU General Public License |
| 23 | ;;; along with TrIPE. If not, see <https://www.gnu.org/licenses/>. |
| 24 | |
| 25 | [Unit] |
| 26 | Description=Tripe service @service@: @descr@ |
| 27 | Documentation=man:@service@(8) |
| 28 | |
| 29 | ConditionPathExists=@pkglibdir@/services/@service@ |
| 30 | |
| 31 | After=tripe.service |
| 32 | Requires=tripe.service |
| 33 | |
| 34 | [Install] |
| 35 | WantedBy=tripe.service |
| 36 | |
| 37 | [Service] |
| 38 | Type=simple |
| 39 | |
| 40 | ExecStart=@pkglibdir@/services/@service@ |