Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Ask HN: What Next After Ubuntu?. Parent comment
Create a service that starts on boot:
cat > /etc/systemd/example.service << EOF [Unit] After=network.target [Service] User=example ExecStart=/usr/local/bin/example [Install] WantedBy=multi-user.target EOF systemctl enable --now example
There are no comments on this comment yet.
Create a service that starts on boot:
And the harder things get, the bigger the advantage. Like if you want to mount a disk, create a socket, and then afterward start unprivileged service...all very simple.