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

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

    <bug>
          <bug_id>30155</bug_id>
          
          <creation_ts>2014-07-03 21:58:31 +0400</creation_ts>
          <short_desc>systemd unit</short_desc>
          <delta_ts>2021-04-12 15:20:22 +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>console-scripts</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>
          
          <blocked>30940</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexey Shabalin">shaba</reporter>
          <assigned_to name="Alexey Gladkov">legion</assigned_to>
          <cc>glebfm</cc>
    
    <cc>ldv</cc>
    
    <cc>legion</cc>
    
    <cc>placeholder</cc>
    
    <cc>rider</cc>
    
    <cc>shaba</cc>
    
    <cc>vt</cc>
    
    <cc>zerg</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>146988</commentid>
    <comment_count>0</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2014-07-03 21:58:31 +0400</bug_when>
    <thetext>пример unit файла для consolesaver

[Unit]
Description=Initialize console powersaver
Requires=getty.target
ConditionDirectoryNotEmpty=/lib/terminfo
ConditionFileIsExecutable=/usr/bin/setterm
ConditionFileNotEmpty=/etc/sysconfig/console/setterm

[Service]
Type=oneshot
EnvironmentFile=-/etc/sysconfig/mouse
ExecStart=/bin/sh -c \&quot;/usr/bin/setterm `cat /etc/sysconfig/console/setterm` &gt;/dev/console\&quot;

[Install]
WantedBy=multi-user.target</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>149767</commentid>
    <comment_count>1</comment_count>
    <who name="Anton Farygin">rider</who>
    <bug_when>2015-01-19 13:38:14 +0300</bug_when>
    <thetext>сейчас после обновления до Sisyphus consolesaver сильно тормозит загрузку на systemd. 

точнее есть подозрение что это он, после отключения этого сервиса загружается быстро. надо сделать unit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152955</commentid>
    <comment_count>2</comment_count>
    <who name="Sergey V Turchin">zerg</who>
    <bug_when>2015-10-02 12:25:22 +0300</bug_when>
    <thetext>На моей машине на сизифе это единственный пакет из списка
systemctl | grep SYSV</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>152956</commentid>
    <comment_count>3</comment_count>
    <who name="Alexey Gladkov">legion</who>
    <bug_when>2015-10-02 13:28:07 +0300</bug_when>
    <thetext>Приложите юнит, который нужно положить в пакет.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>177131</commentid>
    <comment_count>4</comment_count>
      <attachid>7930</attachid>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2019-01-02 18:10:18 +0300</bug_when>
    <thetext>Created attachment 7930
unit file for consolesaver</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>180366</commentid>
    <comment_count>5</comment_count>
    <who name="Alexey Shabalin">shaba</who>
    <bug_when>2019-04-03 17:27:36 +0300</bug_when>
    <thetext>ping</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>197830</commentid>
    <comment_count>6</comment_count>
    <who name="Repository Robot">repository-robot</who>
    <bug_when>2021-04-12 15:20:22 +0300</bug_when>
    <thetext>kbd-0:2.4.0-alt2 -&gt; sisyphus:

 Mon Apr 12 2021 Alexey Gladkov &lt;legion@altlinux.ru&gt; 0:2.4.0-alt2
 - Add systemd unit file for consolesaver (ALT#30155).</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>7930</attachid>
            <date>2019-01-02 18:10:18 +0300</date>
            <delta_ts>2019-01-02 18:10:18 +0300</delta_ts>
            <desc>unit file for consolesaver</desc>
            <filename>consolesaver.service</filename>
            <type>text/plain</type>
            <size>366</size>
            <attacher name="Alexey Shabalin">shaba</attacher>
            
              <data encoding="base64">W1VuaXRdCkRlc2NyaXB0aW9uPUluaXRpYWxpemUgY29uc29sZSBwb3dlcnNhdmVyClJlcXVpcmVz
PWdldHR5LnRhcmdldApDb25kaXRpb25EaXJlY3RvcnlOb3RFbXB0eT0vbGliL3Rlcm1pbmZvCkNv
bmRpdGlvbkZpbGVJc0V4ZWN1dGFibGU9L3Vzci9iaW4vc2V0dGVybQpDb25kaXRpb25GaWxlTm90
RW1wdHk9L2V0Yy9zeXNjb25maWcvY29uc29sZS9zZXR0ZXJtCgpbU2VydmljZV0KVHlwZT1vbmVz
aG90CkV4ZWNTdGFydD0vYmluL3NoIC1jICIvdXNyL2Jpbi9zZXR0ZXJtIGAvYmluL2NhdCAvZXRj
L3N5c2NvbmZpZy9jb25zb2xlL3NldHRlcm1gID4vZGV2L2NvbnNvbGUiCgpbSW5zdGFsbF0KV2Fu
dGVkQnk9bXVsdGktdXNlci50YXJnZXQK
</data>

          </attachment>
      

    </bug>

</bugzilla>