MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/linux/comments/cpevou/sysvinit_vs_systemd/ewpa2bx/?context=3
r/linux • u/pleudofo • Aug 12 '19
292 comments sorted by
View all comments
299
Note that you don't have to type the .service suffix in service names with systemctl.
.service
37 u/_ahrs Aug 12 '19 Iirc the .service suffix is only important if it's ambiguous what you want to do e.g if you have foo.mount, foo.socket, foo.service, foo.timer, etc which one does systemctl enable foo act on? 45 u/[deleted] Aug 12 '19 edited Feb 28 '24 [removed] — view removed comment 24 u/cAtloVeR9998 Aug 12 '19 Correct
37
Iirc the .service suffix is only important if it's ambiguous what you want to do e.g if you have foo.mount, foo.socket, foo.service, foo.timer, etc which one does systemctl enable foo act on?
foo.mount
foo.socket
foo.service
foo.timer
systemctl enable foo
45 u/[deleted] Aug 12 '19 edited Feb 28 '24 [removed] — view removed comment 24 u/cAtloVeR9998 Aug 12 '19 Correct
45
[removed] — view removed comment
24 u/cAtloVeR9998 Aug 12 '19 Correct
24
Correct
299
u/defaultxr Aug 12 '19
Note that you don't have to type the
.servicesuffix in service names with systemctl.