<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>25461</bug_id>
          
          <creation_ts>2011-04-18 20:43:36 +0400</creation_ts>
          <short_desc>add systemd support</short_desc>
          <delta_ts>2019-05-21 17:35:41 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>acpid</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>CLOSED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Shabalin">shaba</reporter>
          <assigned_to name="Valery Inozemtsev">shrek</assigned_to>
          <cc>shaba</cc>
    
    <cc>shrek</cc>
    
    <cc>vseleznv</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120494</commentid>
    <comment_count>0</comment_count>
      <attachid>4899</attachid>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2011-04-18 20:43:36 +0400</bug_when>
    <thetext>Created attachment 4899
acpid.service

Прошу упаковать service файл для acpid.
в spec надо добавить примерно следующее:

Source10: acpid.service

install -pD -m644 %SOURCE10
%buildroot%systemd_unitdir/acpid.service

в %files добавить
%systemd_unitdir/acpid.service

acpid.service в атаче.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120496</commentid>
    <comment_count>1</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2011-04-18 21:00:54 +0400</bug_when>
    <thetext>acpid-1:2.0.9-alt1 -&gt; sisyphus:

* Mon Apr 18 2011 Valery Inozemtsev &lt;shrek@altlinux&gt; 1:2.0.9-alt1
- 2.0.9
- added systemd support (closes: #25461)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>147750</commentid>
    <comment_count>2</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2014-09-16 22:08:26 +0400</bug_when>
    <thetext>прошу обновить поддержку systemd.
надо сделать следующее:

в acpid.service:
[Install]
WantedBy=multi-user.target
+Also=acpid.socket

[Unit]
Description=ACPI Event Daemon
+Documentation=man:acpid(8)
-After=syslog.target
+Requires=acpid.socket

[Service]
EnvironmentFile=/etc/sysconfig/acpid
ExecStart=/usr/sbin/acpid -f $ACPID_ARGS
ExecReload=/bin/kill -HUP $MAINPID

[Install]
WantedBy=multi-user.target
+Also=acpid.socket

и добавить
acpid.socket:

[Unit]
Description=ACPID Listen Socket
Documentation=man:acpid(8)

[Socket]
ListenStream=/var/run/acpid.socket

[Install]
WantedBy=sockets.target</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>181737</commentid>
    <comment_count>3</comment_count>
    <who name="Vladimir D. Seleznev">vseleznv</who>
    <bug_when>2019-05-21 17:35:41 +0300</bug_when>
    <thetext>Done in 2.0.31-alt1:

https://lists.altlinux.org/pipermail/sisyphus-incominger/2019-May/530575.html</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>4899</attachid>
            <date>2011-04-18 20:43:36 +0400</date>
            <delta_ts>2011-04-18 20:43:36 +0400</delta_ts>
            <desc>acpid.service</desc>
            <filename>acpid.service</filename>
            <type>text/plain</type>
            <size>219</size>
            <attacher name="Alexey Shabalin">shaba</attacher>
            
              <data encoding="base64">W1VuaXRdCkRlc2NyaXB0aW9uPUFDUEkgRXZlbnQgRGFlbW9uCkFmdGVyPXN5c2xvZy50YXJnZXQK
CltTZXJ2aWNlXQpFbnZpcm9ubWVudEZpbGU9L2V0Yy9zeXNjb25maWcvYWNwaWQKRXhlY1N0YXJ0
PS91c3Ivc2Jpbi9hY3BpZCAtZiAkQUNQSURfQVJHUwpFeGVjUmVsb2FkPS9iaW4va2lsbCAtSFVQ
ICRNQUlOUElECgpbSW5zdGFsbF0KV2FudGVkQnk9bXVsdGktdXNlci50YXJnZXQK
</data>

          </attachment>
      

    </bug>

</bugzilla>