You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
718 B

[Unit]
Description=TERA signed local firmware staging and validation service
After=local-fs.target
Before=tera-api.service
RequiresMountsFor=/userdata
[Service]
Type=simple
User=tera-updated
Group=tera
EnvironmentFile=-/etc/tera/tera-updated.env
ExecStart=/usr/bin/tera-updated
Restart=on-failure
RestartSec=2s
RuntimeDirectory=tera-updated
RuntimeDirectoryMode=0750
UMask=0007
NoNewPrivileges=true
PrivateTmp=true
ProtectSystem=strict
ProtectHome=true
PrivateDevices=true
ProtectControlGroups=true
ProtectKernelModules=true
ProtectKernelTunables=true
RestrictAddressFamilies=AF_UNIX
RestrictSUIDSGID=true
CapabilityBoundingSet=
ReadWritePaths=/userdata/update /run/tera-updated
[Install]
WantedBy=multi-user.target