systemd/systemd-services: add apache service

Part-of: <https://gitlab.postmarketos.org/postmarketOS/pmaports/-/merge_requests/6996>
This commit is contained in:
Henrik Grimler 2025-09-01 16:01:39 +02:00 committed by The Friendly Merge Bot
parent 4a2a2acaf6
commit 436d44c8e6
No known key found for this signature in database
2 changed files with 20 additions and 1 deletions

View file

@ -7,7 +7,7 @@
# How to add a new service file (5 steps):
pkgname=systemd-services
# 1. bump pkgver
pkgver=90
pkgver=91
pkgrel=0
pkgdesc="Systemd service files"
url="https://postmarketos.org"
@ -52,6 +52,7 @@ subpackages="
hexagonrpcd-systemd:_service
hfd-service-systemd:_service
hkdm-systemd:_service
httpd-systemd:_service
iio-sensor-proxy-systemd:_service
iwd-systemd:_service
kactivitymanagerd-systemd:_service
@ -177,6 +178,7 @@ _greetd_wlgreet_sources="system/wlgreet.service"
_hexagonrpcd_sources="system/hexagonrpcd-adsp-rootpd.service system/hexagonrpcd-adsp-sensorspd.service system/hexagonrpcd-sdsp.service system/iio-sensor-proxy.service.d/hexagonrpcd.conf"
_hfd_service_sources="system/hfd-service.service" # From https://gitlab.com/ubports/development/core/hfd-service/-/blob/main/init/hfd-service.service.in
_hkdm_sources="system/hkdm.service"
_httpd_sources="system/httpd.service"
_iio_sensor_proxy_sources="system/iio-sensor-proxy.service"
_iwd_sources="system/iwd.service" # From https://git.kernel.org/pub/scm/network/wireless/iwd.git/tree/src/iwd.service.in
_kanshi_sources="user/kanshi.service" # created, no unit file upstream
@ -297,6 +299,7 @@ source="$(flatpath \
$_hexagonrpcd_sources \
$_hfd_service_sources \
$_hkdm_sources \
$_httpd_sources \
$_iio_sensor_proxy_sources \
$_iwd_sources \
$_kactivitymanagerd_sources \
@ -450,6 +453,7 @@ ac6b7ac72f8caad95e73191a3839b9d8b125c9dd315fb3dbb9c386c132972684ea65ac33fcfb2a6e
2e8a876b61093add48e0677dcbfdac148690eddb398ff51ab4edb6547515ad8f8cfec31e8fda6886746b3bf30410b7b63c7486dcfe2441a7e742ea5023981a45 system-iio-sensor-proxy.service.d-hexagonrpcd.conf
5087ff36981b89c9bd09f96cff93d1f20d5af513e2cdebf65a85e329f458a9a2b77c12091ed31278c3b89baef79273cc818fddabbe4e1eec75faf7b9cc18cb8a system-hfd-service.service
083e59dcbbbd8f6ea148880256ff20f1a16e583348cd7cfc7aa6321d7b0cbe0a82780fd482a26ef25a5ebcfc83f5b7899d5db7c7d479fd7c56e5d7e95fd24a34 system-hkdm.service
666ba094bff47aa67b4e4431929516af355f90ffc1fd60429dcd20b337c3c17d2d62a71c289496217282f0819bc8deba8db5cc5b2915b692defa14d19532a8d1 system-httpd.service
d12ebe6e7db2a8e34baab640dd4e2ea9cd01bc19054adf32d55528a6b27f71c2006ac2d65a58c98e21ed598e9cc66bfe79e197d20ed9d13f866a5a6cd3e247d5 system-iio-sensor-proxy.service
df3388cb7b9d035e54b34d8f8a6594be89c3015f979fe3bdc199fb7db1ab0bef821d6b306eecdf978eb227454d5e50aab29ac02d9722b1b075ec0ce4705e3518 system-iwd.service
9cf877929b16f3437e65d1a0a2049799cc97cc84a7caab6a581e90139495b4febb5fb4c59ee463110866a0b60c9462d6d0fdb331d92d29b30ce6aeada365ac48 user-plasma-kactivitymanagerd.service

View file

@ -0,0 +1,15 @@
[Unit]
Description=Apache Web Server
After=network.target remote-fs.target nss-lookup.target
[Service]
Type=simple
ExecStart=/usr/sbin/httpd -k start -DFOREGROUND
ExecStop=/usr/sbin/httpd -k graceful-stop
ExecReload=/usr/sbin/httpd -k graceful
PrivateTmp=true
LimitNOFILE=infinity
KillMode=mixed
[Install]
WantedBy=multi-user.target