#--------------------------------------------------------------------------- # /usr/lib/systemd/system/misdnuser.service - service unit # # Creation: 2023-03-17 hbfl # Last Update: $Id$ # # Copyright (c) 2011-@@YEAR@@ Holger Bruenjes, holgerbruenjes(at)gmx(dot)net # # This program is free software; you can redistribute it and/or modify # it under the terms of the GNU General Public License as published by # the Free Software Foundation; either version 2 of the License, or # (at your option) any later version. #----------------------------------------------------------------------- [Unit] Description=mISDN CAPI daemon Before=eisfax-faxq.service After=network.target network-online.target [Service] Type=forking # load modules ExecStartPre=/usr/libexec/misdnuser/misdnuser start ExecStart=/usr/sbin/mISDNcapid # after restart restart services also ExecStartPost=/usr/libexec/misdnuser/misdnuser-post start ExecReload=/bin/kill -HUP $MAINPID KillMode=process # unload modules and stop services ExecStopPost=/usr/libexec/misdnuser/misdnuser stop Restart=on-failure [Install] WantedBy=multi-user.target Alias=capi.service