Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 798318 - app-misc/fhem-6.0: systemd service file wrong Type
Summary: app-misc/fhem-6.0: systemd service file wrong Type
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Conrad Kostecki
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-06-24 10:45 UTC by Daniel Kenzelmann
Modified: 2021-06-25 23:38 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Kenzelmann 2021-06-24 10:45:02 UTC
After installing fhem, starting it via systemctl does not work.
The reason seems to be Type=simple in the [Service] section.
Type should be Type=forking instead

see also
https://wiki.fhem.de/wiki/Fhem.service_(systemd_unit_file)
for a full fhem systemd service file


Reproducible: Always
Comment 1 Larry the Git Cow gentoo-dev 2021-06-25 23:38:46 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0cb1146fd6908f526abca2d3e3211fd116175a8e

commit 0cb1146fd6908f526abca2d3e3211fd116175a8e
Author:     Conrad Kostecki <conikost@gentoo.org>
AuthorDate: 2021-06-25 23:35:57 +0000
Commit:     Conrad Kostecki <conikost@gentoo.org>
CommitDate: 2021-06-25 23:38:31 +0000

    app-misc/fhem: update systemd init script
    
    Type must be forking.
    
    Closes: https://bugs.gentoo.org/798318
    Package-Manager: Portage-3.0.20, Repoman-3.0.3
    Signed-off-by: Conrad Kostecki <conikost@gentoo.org>

 app-misc/fhem/fhem-6.0-r1.ebuild    | 103 ++++++++++++++++++++++++++++++++++++
 app-misc/fhem/files/fhem.service-r1 |  14 +++++
 2 files changed, 117 insertions(+)