Answers for "start a service linux"

2

start service command line

net start servicename
Posted by: Guest on May-09-2021
2

how to make services in linux

[Unit]
Description=<description about this service>

[Service]
User=<user e.g. root>
WorkingDirectory=<directory_of_script e.g. /root>
ExecStart=<script which needs to be executed>
Restart=always

[Install]
WantedBy=multi-user.target
Posted by: Guest on August-20-2020

Browse Popular Code Answers by Language