cloud infra
0

Configure Feed

Select the types of activity you want to include in your feed.

Bump homepage

This new version fixes styling issue

nagee (May 24, 2026, 12:31 AM -0700) e9f155e9 f5e4e42b

+10 -5
+9 -4
configure/operations/release.py
··· 89 89 def maybe_update_executable(conf: SystemdServiceConf) -> bool: 90 90 executable_version = get_executable_version(conf) 91 91 if executable_version != conf.version: 92 + stop_service(conf) 92 93 install_executable(conf) 94 + restart_service(conf) 93 95 return True 94 96 return False 95 97 ··· 109 111 from pyinfra.operations import systemd 110 112 111 113 systemd.service(service=conf.service_name, daemon_reload=True) 114 + 115 + def stop_service(conf: SystemdServiceConf): 116 + from pyinfra.operations import systemd 117 + 118 + systemd.service(service=conf.service_name, running=False) 112 119 113 120 114 121 def restart_service(conf: SystemdServiceConf): 115 122 from pyinfra.operations import systemd 116 123 117 - systemd.service(service=conf.service_name, reloaded=True) 124 + systemd.service(service=conf.service_name, reloaded=True, running=True) 118 125 119 126 120 127 def main(): ··· 129 136 install_service(conf) 130 137 start_service(conf) 131 138 else: 132 - updated = maybe_update_executable(conf) 133 - if updated: 134 - restart_service(conf) 139 + maybe_update_executable(conf) 135 140 136 141 137 142 main()
+1 -1
configure/operations/services.py
··· 103 103 104 104 105 105 class ServiceVersions: 106 - homepage: int = 4 106 + homepage: int = 5 107 107 108 108 109 109 SERVICE_VERSIONS = ServiceVersions()