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.
32 lines
661 B
32 lines
661 B
|
2 months ago
|
[Unit]
|
||
|
|
Description=TERA authoritative bounded log service
|
||
|
|
After=userdata.mount
|
||
|
|
Requires=userdata.mount
|
||
|
|
Before=tera-api.service
|
||
|
|
|
||
|
|
[Service]
|
||
|
|
Type=simple
|
||
|
|
User=tera-logd
|
||
|
|
Group=tera
|
||
|
|
SupplementaryGroups=tera-logd
|
||
|
|
EnvironmentFile=-/etc/tera/tera-logd.env
|
||
|
|
ExecStart=/usr/bin/tera-logd
|
||
|
|
Restart=on-failure
|
||
|
|
RestartSec=2s
|
||
|
|
UMask=0007
|
||
|
|
RuntimeDirectory=tera-logd
|
||
|
|
RuntimeDirectoryMode=0750
|
||
|
|
NoNewPrivileges=true
|
||
|
|
PrivateTmp=true
|
||
|
|
ProtectSystem=full
|
||
|
|
ProtectHome=true
|
||
|
|
ProtectControlGroups=true
|
||
|
|
ProtectKernelModules=true
|
||
|
|
ProtectKernelTunables=true
|
||
|
|
RestrictAddressFamilies=AF_UNIX
|
||
|
|
RestrictSUIDSGID=true
|
||
|
|
ReadWritePaths=/userdata/log /run/tera-logd
|
||
|
|
|
||
|
|
[Install]
|
||
|
|
WantedBy=multi-user.target
|