OpenBCM V1.07b12 (Linux)

Packet Radio Mailbox

IW8PGT

[Mendicino(CS)-Italy]

 Login: GUEST





  
PD2LT  > PACKET   14.12.17 18:48l 53 Lines 1532 Bytes #999 (0) @ WW
BID : 18657_PI8LAP
Read: GUEST
Subj: Systemctl / SystemD
Path: IW8PGT<IZ3LSV<I0OJJ<LU4ECL<PI8LAP
Sent: 171214/1742Z @:PI8LAP.#ZL.NLD.EURO #:18657 [Kortgene] $:18657_PI8LAP
From: PD2LT@PI8LAP.#ZL.NLD.EURO
To  : PACKET@WW

######################################################
# These are messages posted on my website.           #
# Maybe there are people that linke to read them.    #
# https://packet-radio.net  / pd2lt@packet-radio.net #
######################################################

Update : Okay, i relay dont like systemctl/systemd.
apt-get install sysvinit / apt-get purge systemd / reboot

Debian Jessie uses the "new" systemd. No more inittab. 
So a unit file must come up for this.

nano /etc/systemd/system/linbpq.service

[Unit]
Description=Linbpq start
After=network.target

[Service]
Type=simple
ExecStart=/usr/local/linbpq/linbpq
WorkingDirectory=/usr/local/linbpq
Restart=always

[Install]
WantedBy=multi-user.target
Alias=linbpq.service

systemctl enable linbpq.service

systemctl daemon-reload

Now let`s check all startup nicely.

systemctl status linbpq.service

root@gw:/etc/systemd/system# systemctl status linbpq.service
? linbpq.service - Linbpq daem? linbpq.service - Linbpq daemon
   Loaded: loaded (/etc/systemd/system/linbpq.service; enabled)
   Active: active (running) since Wed 2017-12-13 07:14:07 CET; 1h 19min ago
 Main PID: 19267 (linbpq)
   CGroup: /system.slice/linbpq.service
           +-19267 /usr/local/linbpq/linbpq

Up and running
######################################################
# 73 Niels pd2lt@pi8lap.#zl.nld.euro                 #
# https://packet-radio.net / pd2lt@packet-radio.net  #
######################################################


Read previous mail | Read next mail


 23.12.2024 13:40:44lGo back Go up