-
-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create Example Service.md #130
base: master
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd prefer a lower case directory name and definitely a snake_case file name -> docs/linux_service_example.md
Description=Botify </br> | ||
</br> | ||
[Service]</br> | ||
WorkingDirectory=/home/(your install dir)/botify</br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd replace /home/(your install dir)/botify
with ~/botify
and mention that this example assumes that botify is installed in the home dir in the botify directory, as this is generally the case for most users and means that they won't have to change these lines.
</br> | ||
[Service]</br> | ||
WorkingDirectory=/home/(your install dir)/botify</br> | ||
ExecStart=/home/(your install dir)/botify/resources/bash/launch.sh</br> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
same here -> ~/botify/resources/bash/launch.sh
vi botify.service</br> | ||
you can name the service file whatever you want to call it. | ||
|
||
Than paste the following |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Then*
@@ -0,0 +1,31 @@ | |||
For Ubuntu 18.04 Systemd |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
should work for any Linux distro, so I'd change this to "Run botify as Linux service" or similar
This should be a good starting point for running botify as a service with logging under /var/log