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

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

    <bug>
          <bug_id>58846</bug_id>
          
          <creation_ts>2026-04-23 16:47:40 +0300</creation_ts>
          <short_desc>Необходимо добавить в пакет /etc/sysconfig/git-pages</short_desc>
          <delta_ts>2026-04-29 11:11:47 +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>git-pages</component>
          <version>unstable</version>
          <rep_platform>x86_64</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>P5</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Савелий Солдатов">soldatovsu</reporter>
          <assigned_to name="Maxim Slipenko">maks1ms</assigned_to>
          <cc>maks1ms</cc>
    
    <cc>maxim</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>286248</commentid>
    <comment_count>0</comment_count>
    <who name="Савелий Солдатов">soldatovsu</who>
    <bug_when>2026-04-23 16:47:40 +0300</bug_when>
    <thetext>git-pages-0.7.0-alt1

# rpm -ql git-pages
/etc/git-pages
/etc/git-pages/config.toml
/usr/bin/git-pages
/usr/lib/systemd/system/git-pages.service
/usr/share/doc/git-pages-0.7.0
/usr/share/doc/git-pages-0.7.0/README.md
/var/lib/git-pages

# systemctl cat git-pages
# /usr/lib/systemd/system/git-pages.service
[Unit]
Description=git-pages
After=network.target
After=network-online.target
Wants=network-online.target

[Service]
Type=simple
User=git-pages
Group=git-pages
Restart=on-failure
RestartSec=2s
ExecStart=/usr/bin/git-pages -config /etc/git-pages/config.toml
NoNewPrivileges=yes

[Install]
WantedBy=multi-user.target

В настоящее время systemd-юнит для git-pages не предоставляет способа задать переменные окружения, необходимо добавить /etc/sysconfig/git-pages

Модифицировать systemd-юнит, добавить строку EnvironmentFile=/etc/sysconfig/git-pages в секцию [Service]</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>286545</commentid>
    <comment_count>1</comment_count>
    <who name="Maxim Slipenko">maxim</who>
    <bug_when>2026-04-29 11:11:47 +0300</bug_when>
    <thetext>Исправлено в 0.8.1-alt1</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>