/lib/systemd/system/grr-server.service is in grr-server 3.1.0.2+dfsg-4.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | # This service is actually a systemd target, but we are using a service since
# targets cannot be reloaded and we may want to implement reload in the future.
[Unit]
Description=GRR Service
After=network.target
Documentation=https://github.com/google/grr
[Service]
Type=oneshot
RemainAfterExit=yes
ExecReload=/bin/systemctl --no-block reload grr-server@ui.service grr-server@http_server.service grr-server@worker.service grr-server@worker2.service
ExecStart=/bin/systemctl --no-block start grr-server@ui.service grr-server@http_server.service grr-server@worker.service grr-server@worker2.service
ExecStop=/bin/systemctl --no-block stop grr-server@ui.service grr-server@http_server.service grr-server@worker.service grr-server@worker2.service
LimitNOFILE=8388608
[Install]
WantedBy=multi-user.target
|