20 lines
505 B
Django/Jinja
20 lines
505 B
Django/Jinja
[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/local/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
|