[Unit]
Description=ADCH++ Service
After=syslog.target
After=network.target
[Service]
Type=simple
User=
Group=
ExecStart=/bin/adchpp -d -c
# Give a reasonable amount of time for the server to start up/shut down
TimeoutSec=300
[Install]
WantedBy=multi-user.target
Change to be the user you want
can rework it to check if init.d or system.d is used later on if nessary
running on wheezy since jessie has been to unstable but its a minor
tweak in config just some if variable thats needed
--
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to
I'd be all for adchpp's default distribution including a Debian startup
script, and this looks broadly reasonable for
https://www.debian.org/releases/wheezy/ and earlier versions. However
https://www.debian.org/releases/jessie/ to be released in a couple of
days, uses https://wiki.debian.org/system
Public bug reported:
Should work havent tested it yet might be worth while to add into distro
#!/bin/bash
# Init Script for ADCH++
CONF=/etc/adchpp/default.conf
PID=$(ps -A -o pid,cmd|grep adchppd | grep -v grep |head -n 1 | awk '{print
$1}')
case "$1" in
start)
printf "Starting ADCH++"
a
4 matches
Mail list logo