Bugzilla – Attachment 151474 Details for
Bug 33371
Add 'koha-common.service' systemd service
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33371: Add 'koha-common.service' systemd service
Bug-33371-Add-koha-commonservice-systemd-service.patch (text/plain), 1.66 KB, created by
Tomás Cohen Arazi (tcohen)
on 2023-05-19 12:17:36 UTC
(
hide
)
Description:
Bug 33371: Add 'koha-common.service' systemd service
Filename:
MIME Type:
Creator:
Tomás Cohen Arazi (tcohen)
Created:
2023-05-19 12:17:36 UTC
Size:
1.66 KB
patch
obsolete
>From d26c04b0b5db77db8728b6eb22ce20c4debbb749 Mon Sep 17 00:00:00 2001 >From: Mason James <mtj@kohaaloha.com> >Date: Fri, 31 Mar 2023 03:32:10 +1300 >Subject: [PATCH] Bug 33371: Add 'koha-common.service' systemd service > >to test > >- install current package >- note following $message on install > 'Failed to enable unit: Unit /run/systemd/generator.late/koha-common.service is transient or generated.' > >- apply patch, build package, install new package >- note $message is gone! :) > >- test koha-common.service > # systemctl start koha-common > # systemctl status koha-common | grep running > Active: active (running) since Sun 2023-04-02 00:27:31 NZDT <<< > > # systemctl stop koha-common > > # systemctl status koha-common | grep dead > Active: inactive (dead) since Sun 2023-04-02 00:25:34 NZDT <<< > >Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> >--- > debian/koha-common.service | 22 ++++++++++++++++++++++ > 1 file changed, 22 insertions(+) > create mode 100644 debian/koha-common.service > >diff --git a/debian/koha-common.service b/debian/koha-common.service >new file mode 100644 >index 00000000000..0cad4b28326 >--- /dev/null >+++ b/debian/koha-common.service >@@ -0,0 +1,22 @@ >+# koha-common.service >+# /etc/systemd/system/koha-common.service >+ >+[Unit] >+Description=Start required services for each Koha instance >+SourcePath=/etc/init.d/koha-common >+Before=multi-user.target >+Before=graphical.target >+After=remote-fs.target >+After=memcached.service >+ >+[Service] >+Type=forking >+Restart=no >+TimeoutSec=5min >+IgnoreSIGPIPE=no >+KillMode=process >+GuessMainPID=no >+RemainAfterExit=yes >+SuccessExitStatus=5 6 >+ExecStart=/etc/init.d/koha-common start >+ExecStop=/etc/init.d/koha-common stop >-- >2.34.1
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 33371
:
149060
| 151474 |
151926
|
151927
|
151929
|
151930