Skip to content

Create Example Service.md#130

Open
arcreigh wants to merge 1 commit intorobinfriedli:masterfrom
arcreigh:master
Open

Create Example Service.md#130
arcreigh wants to merge 1 commit intorobinfriedli:masterfrom
arcreigh:master

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 anxlz 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.

2 participants