/lib/systemd/system/pollen.service is in pollen 4.20-0ubuntu1.
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 | [Unit]
Description=Entropy as a Service
After=network.target
[Service]
User=pollen
EnvironmentFile=/etc/default/pollen
# Ensure our device exists, and is a character device
ExecStartPre=/bin/sh -c '[ -c "$DEVICE" ]'
ExecStart=/usr/bin/pollen -http-port=${HTTP_PORT} -https-port=${HTTPS_PORT} -device=${DEVICE} -bytes=${BYTES} -cert=${CERT} -key=${KEY}
Restart=on-failure
[Install]
WantedBy=multi-user.target
|