Difference between revisions of "Unix and Linux config"
From Wiki at Neela Nurseries
m |
m (→^ systemd and systemctl note =: - just added few notes on systemd and dot service start up files.) |
||
Line 6: | Line 6: | ||
− | == [[#top|^]] systemd and systemctl note | + | == [[#top|^]] systemd and systemctl note == |
+ | Necessary to run the following after adding a .service file: | ||
<pre> | <pre> | ||
− | |||
sudo systemctl daemon-reload | sudo systemctl daemon-reload | ||
+ | |||
sudo systemctl enable my_new_service.service | sudo systemctl enable my_new_service.service | ||
Revision as of 16:33, 27 May 2021
Article on ways to start programs automatically as a Linux system boots into multi-use mode:
^ systemd and systemctl note
Necessary to run the following after adding a .service file:
sudo systemctl daemon-reload sudo systemctl enable my_new_service.service sudo systemctl start my_new_service.service