mirror of
https://gitlab.archlinux.org/archlinux/infrastructure.git
synced 2025-01-18 08:06:16 +01:00
24 lines
513 B
Django/Jinja
24 lines
513 B
Django/Jinja
[Unit]
|
|
Description=Update archmanweb database
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=archmanweb
|
|
WorkingDirectory={{ archmanweb_dir }}/repo/
|
|
ExecStart=/usr/bin/python3 manage.py man_update --cache-dir {{ archmanweb_cache_dir }}
|
|
Environment=TEMP={{ archmanweb_cache_dir }}
|
|
|
|
ProtectSystem=full
|
|
PrivateTmp=true
|
|
PrivateDevices=true
|
|
|
|
ProtectHostname=true
|
|
ProtectKernelTunables=true
|
|
ProtectKernelModules=true
|
|
ProtectKernelLogs=true
|
|
ProtectControlGroups=true
|
|
|
|
NoNewPrivileges=true
|
|
RestrictRealtime=true
|
|
MemoryDenyWriteExecute=true
|