| Summary: | [FEAT] Have systemctl automatically append the .service to the service name | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Steve Dickson <steved> |
| Component: | systemd | Assignee: | Lennart Poettering <lpoetter> |
| Status: | CLOSED WONTFIX | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | rawhide | CC: | harald, johannbg, lpoetter, metherid, mschmidt, notting, plautrba |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-07-19 21:16:20 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
Note that systemctl can start many types of units - service is only one of the types. (In reply to comment #1) > Note that systemctl can start many types of units - service is only one of the > types. So for the systemctl [start|restart|enable]' commands that actually start and stop services, the given service file does not have to end with '.service' ? Trying to be a bit more clear - systemd operates on unit files; these unit files can come in different types, distinguished by file extension: - service - socket - device - mount - automount - swap - target - path - timer start, stop, eanble, etc. are valid actions for multiple unit types, not just services. (In reply to comment #3) > Trying to be a bit more clear - systemd operates on unit files; these unit > files can come in different types, distinguished by file extension: > > - service > - socket > - device > - mount > - automount > - swap > - target > - path > - timer > > start, stop, eanble, etc. are valid actions for multiple unit types, not just > services. Ok... Just trying to help make things a bit more streamline... I'm just notice I'm doing a lot '.service' typing lately and I hoping try figure out a way around it... install bash-completion |
Description of Feature Request: To start a service one does systemctl start foobar.service Since the '.service' is the static part of all service names it would be nice if the systemctl would just automatically append the '.service' when its not supplied. So the above command would turn into: systemctl start foobar Version-Release number of selected component (if applicable): systemd-units-30-1.fc16.x86_64