Sample Header Ad - 728x90

How to create a systemd target?

26 votes
3 answers
49858 views
After searching plenty through plenty a post, Youtube video, and "documentation" on the matter of systemd, I'm still at a loss. The link (https://wiki.archlinux.org/index.php/systemd#Create_custom_target) seemed promising, but was a bit vague (to me). Question ------- How would one go about creating a custom systemd target (IE: foo.target ) so that one may boot with select .service units? Example ------- 1. System boots default.target (symlink of "foo.target") 2. "foo.target" only starts a barebones X server and GUI program, say "gvim". Reason ------ I'm simply looking to create a custom target for quickly launching one X program. I'd be nice to exclude all the services I don't need. Thanks in advance!
Asked by Pilbox (363 rep)
Aug 8, 2016, 01:48 AM
Last activity: Mar 24, 2021, 11:05 AM