Difference between revisions of "Unix and Linux config"
Jump to navigation
Jump to search
(2021-05-26 - starting separate wiki notes page on Unix and Linux configuration.) |
m |
||
| Line 4: | Line 4: | ||
* https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/ | * https://www.dexterindustries.com/howto/run-a-program-on-your-raspberry-pi-at-startup/ | ||
| + | |||
| + | |||
| + | == [[#top|^]] systemd and systemctl note === | ||
| + | |||
| + | <pre> | ||
| + | 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 | ||
| + | </pre> | ||
<!-- comment --> | <!-- comment --> | ||
Revision as of 16:32, 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