Luce packages
LuceLuce BaseLuciaOS

dymokomi/luce-pkg-server

Source of release 0.6.1

0.6.1 / deploy / luce-pkg-server.service

[Unit]
Description=Luce package and Git registry
After=network.target
ConditionPathIsRegular=/etc/luce-pkg-server/environment

[Service]
Type=simple
User=luce-pkg
Group=luce-pkg
WorkingDirectory=/var/lib/luce-pkg-server
EnvironmentFile=/etc/luce-pkg-server/environment
ExecStart=/opt/luce-pkg-server/current/luce-pkg-server /var/lib/luce-pkg-server/registry.db 9420
Restart=on-failure
RestartSec=2s
TimeoutStopSec=60s
UMask=0027

NoNewPrivileges=true
PrivateDevices=true
PrivateTmp=true
ProtectControlGroups=true
ProtectHome=true
ProtectKernelLogs=true
ProtectKernelModules=true
ProtectKernelTunables=true
ProtectSystem=strict
ReadWritePaths=/var/lib/luce-pkg-server /var/lib/luce-pkg-site
RestrictAddressFamilies=AF_UNIX AF_INET AF_INET6
RestrictRealtime=true
LockPersonality=true
CapabilityBoundingSet=
AmbientCapabilities=
SystemCallArchitectures=native
TasksMax=64
LimitNOFILE=8192
MemoryMax=1400M

[Install]
WantedBy=multi-user.target