Page MenuHomeDevCentral

Odderon systemd service doesn't start anymore
Closed, ResolvedPublic

Description

Systemd doesn't recognize anymore the Simple service type.

Furthermore, it requires an absolute path to invoke software.

Eglide
$ systemctl status odderon.service                                                                                                                                                                  
● odderon.service - Odderon darkbot
   Loaded: error (Reason: Exec format error)
   Active: active (running) since Fri 2017-06-09 21:01:54 UTC; 3 months 5 days ago
 Main PID: 6475 (darkbot)
   CGroup: /system.slice/odderon.service
           └─6475 /opt/odderon/bin/darkbot

Sep 14 15:39:39 eglide.org systemd[1]: /etc/systemd/system/odderon.service:22: Failed to parse service type, ignoring: Simple
Sep 14 15:39:39 eglide.org systemd[1]: /etc/systemd/system/odderon.service:25: Executable path is not absolute: kill -HUP `cat /opt/odderon/darkbot.pid`

Event Timeline

For the first issue, it seems systemd now require lowercase.

We aren't alone to have been surprised by this: https://github.com/corda/corda-ansible/issues/5

Configures the process start-up type for this service unit. One of simple, forking, oneshot, dbus, notify or idle.

dereckson renamed this task from Refactor Odderon systemd service to Odderon systemd service doesn't start anymore.Sep 14 2017, 23:10