Skip to content

Commit

Permalink
Add systemd daemon service
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhigueram committed Mar 21, 2024
1 parent f11592d commit fa79c75
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions bot.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=My test service
After=syslog.target network.target

[Service]
Restart=always
WorkingDirectory=/home/topcat/projects/python_slack_bot
ExecStart=/home/topcat/miniforge3/envs/slackbot/bin/python echolab_candidates_bot.py
User=topcat
EnvironmentFile=/etc/slack_bot/env.conf

[Install]
WantedBy=multi-user.target

0 comments on commit fa79c75

Please sign in to comment.