Skip to content
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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

arcreigh
Copy link

This should be a good starting point for running botify as a service with logging under /var/log

Copy link
Owner

@robinfriedli robinfriedli left a 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>
Copy link
Owner

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>
Copy link
Owner

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
Copy link
Owner

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
Copy link
Owner

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

Repository owner deleted a comment from AbdulrahmanF123 Feb 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants