18 lines
473 B
Desktop File
18 lines
473 B
Desktop File
[Unit]
|
|
Description=Koha ILS - All instances (compat)
|
|
Documentation=man:koha-common(8)
|
|
BindsTo=koha.target
|
|
After=koha.target
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
RemainAfterExit=yes
|
|
# Instances can switch to Elasticsearch after their units were enabled, so
|
|
# re-discover ES indexers on every start, like the SysV init script did.
|
|
ExecStartPre=-/usr/sbin/koha-systemd-ctl sync-es-indexers
|
|
ExecStart=/bin/true
|
|
ExecStop=/bin/systemctl stop koha.target
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|