Difference between revisions of "Systemctl enable yourservicename.service"
Jump to navigation
Jump to search
(2 intermediate revisions by the same user not shown) | |||
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. | ||
+ | [[systemctl enable]] yourservicename | ||
+ | [[systemctl start]] yourservicename | ||
− | + | == See also == | |
− | {{systemctl}} | + | * {{systemctl}} |
Latest revision as of 16:35, 11 July 2023
systemctl enable yourservicename.service Created symlink /etc/systemd/system/multi-user.target.wants/ yourservicename.service → /lib/systemd/system/yourservicename.service.
systemctl enable yourservicename systemctl start yourservicename
See also[edit]
- 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: