#1056 backend: don't kill action processors by 'systemctl restart'
Merged 4 years ago by praiskup. Opened 4 years ago by praiskup.
Unknown source kill-mode-actions  into  master

@@ -11,6 +11,8 @@

  User=copr

  Group=copr

  ExecStart=/usr/bin/copr_run_action_dispatcher.py

+ # we don't want to kill background action processors (daemoncontext)

+ KillMode=process

  

  [Install]

  WantedBy=multi-user.target

I was told by systemd guys that we should use some library like
'pystemd' for starting such scripts on background (so systemd keeps an
eye on the process, etc.). But for now this is the fastest fix.

Commit 53f03a0 fixes this pull-request

Pull-Request has been merged by praiskup

4 years ago