File:  [LON-CAPA] / loncom / init.d / loncontrol.service
Revision 1.1: download - view: text, annotated - select for diffs
Fri Oct 26 23:17:24 2018 UTC (6 years ago) by raeburn
Branches: MAIN
CVS tags: version_2_12_X, version_2_11_X, version_2_11_5_msu, version_2_11_5, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, HEAD
- Support SLES 15
- systemd (not SysV) runs loncontrol for stop/start/restart LON-CAPA daemons
  for: SLES 15, Ubuntu 18.04 LTS, Fedora 26, 27, 28, 29

[Unit]
Description=LON-CAPA daemons
Wants=network-online.target nss-lookup.target
After=network-online.target nss-lookup.target syslog.target basic.target mysql.service

[Service]
RemainAfterExit=yes
ExecStart= /home/httpd/perl/loncontrol start
ExecReload=/home/httpd/perl/loncontrol reload
ExecStop=/home/httpd/perl/loncontrol stop
StandardOutput=syslog
StandardError=syslog

[Install]
WantedBy=multi-user.target

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>