Difference between revisions of "Systemctl enable yourservicename.service"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | [[systemctl enable]] yourservicename.service | ||
Created [[symlink]] [[/etc/systemd/system/multi-user.target.wants/]] yourservicename.service → | Created [[symlink]] [[/etc/systemd/system/multi-user.target.wants/]] yourservicename.service → | ||
[[/lib/systemd/system/]]yourservicename.service. | [[/lib/systemd/system/]]yourservicename.service. |
Revision as of 18:08, 6 July 2023
systemctl enable yourservicename.service Created symlink /etc/systemd/system/multi-user.target.wants/ yourservicename.service → /lib/systemd/system/yourservicename.service.
Systemd services: systemctl
[status | is-active | start | daemon-reload | stop | mask
| reload
| restart
| reboot
| enable
| disable
| cat
], systemctl list-units
, systemctl list-timers
, systemctl --failed
, systemctl get-default
, systemctl --help
, .service, .timer, .socket
, systemctl restart elasticsearch.service
, systemctl status apt-daily
, systemctl status oscapd
Advertising: