28 lines
635 B
Desktop File
28 lines
635 B
Desktop File
[Unit]
|
|
Description=OctoReport bug report inbox (127.0.0.1:8099, behind nginx /report/)
|
|
After=network.target
|
|
|
|
[Service]
|
|
User=octoreport
|
|
Group=octoreport
|
|
ExecStart=/usr/bin/python3 -I /opt/octo-report/report_inbox.py
|
|
Restart=on-failure
|
|
NoNewPrivileges=yes
|
|
ProtectSystem=strict
|
|
ProtectHome=yes
|
|
PrivateTmp=yes
|
|
PrivateDevices=yes
|
|
ReadWritePaths=/srv/octo/reports
|
|
ProtectKernelTunables=yes
|
|
ProtectKernelModules=yes
|
|
ProtectControlGroups=yes
|
|
RestrictAddressFamilies=AF_INET AF_INET6 AF_UNIX
|
|
RestrictNamespaces=yes
|
|
LockPersonality=yes
|
|
MemoryMax=256M
|
|
CapabilityBoundingSet=
|
|
SystemCallFilter=@system-service
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|