On Tue, Feb 18, 2025 at 4:09 PM Zhang Huangbin <users@sogo.nu> wrote:

>
>
> > On Feb 18, 2025, at 13:10, David Newman (dnew...@potrzebie.org) <
> users@sogo.nu> wrote:
> >
> > On Debian, this is because the systemd script in /etc/init.d/sogo uses
> the SIGTERM signal to try stopping the program...
>
> By the way, SOGo should switch to systemd service file instead of rc
> script (/etc/init.d/sogo).
>

How did you install SOGo?
I am running it on Debian 12.9

*root@eu:/home/wash# systemctl cat sogo*
# /lib/systemd/system/sogo.service
[Unit]
Description=SOGo is a groupware server
Documentation=https://sogo.nu/files/docs/SOGoInstallationGuide.html
After=network.target
After=postgresql.service
After=mariadb.service
After=mysql.service

[Service]
Environment="PREFORK=3"
EnvironmentFile=-/etc/default/sogo
Type=forking
ExecStart=/usr/sbin/sogod -WOWorkersCount ${PREFORK} -WOPidFile
/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
RuntimeDirectory=sogo
PIDFile=/run/sogo/sogo.pid
User=sogo

[Install]
WantedBy=multi-user.target
*root@eu:/home/wash# systemctl status sogo*
● sogo.service - SOGo is a groupware server
     Loaded: loaded (/lib/systemd/system/sogo.service; enabled; preset:
enabled)
     Active: active (running) since Sun 2025-02-16 14:55:25 EAT; 2 days ago
       Docs: https://sogo.nu/files/docs/SOGoInstallationGuide.html
    Process: 1297 ExecStart=/usr/sbin/sogod -WOWorkersCount ${PREFORK}
-WOPidFile /run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
(code=exited, status=0/SUCCESS)
   Main PID: 1548 (sogod)
      Tasks: 4 (limit: 28783)
     Memory: 67.7M
        CPU: 12min 29.961s
     CGroup: /system.slice/sogo.service
             ├─1548 /usr/sbin/sogod -WOWorkersCount 3 -WOPidFile
/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
             ├─1805 /usr/sbin/sogod -WOWorkersCount 3 -WOPidFile
/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
             ├─1806 /usr/sbin/sogod -WOWorkersCount 3 -WOPidFile
/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log
             └─1811 /usr/sbin/sogod -WOWorkersCount 3 -WOPidFile
/run/sogo/sogo.pid -WOLogFile /var/log/sogo/sogo.log



-- 
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254 7 3200 0004/+254 7 2274 3223
 In an Internet failure case, the #1 suspect is a constant: DNS.
"Oh, the cruft.", egrep -v '^$|^.*#' ¯\_(ツ)_/¯ :-)
[How to ask smart questions:
http://www.catb.org/~esr/faqs/smart-questions.html]

Reply via email to