Quantcast
Channel: systemd units won't auto-start - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2

Answer by Mark Stosberg for systemd units won't auto-start

$
0
0

First, to handle managing a group of related services, I recommend using target. You can find the details at How to create a virtual systemd service to stop/start several instances together?.

The benefit of using a target is that you can stop and start all the services as a group or individually.

Second, you have to enable services for them to start at boot. Enabling a unit runs whatever directives you have in the [Install] section of your unit files. You can check if a unit is enabled or not with systemctl status your-unit or simply systemctl is-enabled your-unit.


Viewing all articles
Browse latest Browse all 2

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>