Skip to content

Commit

Permalink
Moved bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
Paraaa committed Sep 11, 2024
1 parent ea44bda commit 0171ebb
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
File renamed without changes.
13 changes: 13 additions & 0 deletions scripts/start_pyassist.service
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
[Unit]
Description=Run Pyassist after startup of the system
After=multi-user.target
Requires=network-online.target

[Service]
ExecStart=/bin/bash /home/piandrej/Repositories/PyAssist/scripts/startup.sh
WorkingDirectory=/home/piandrej
Type=simple
Restart=on-failure

[Install]
WantedBy=multi-user.target
7 changes: 7 additions & 0 deletions scripts/startup.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#!/bin/bash

SCRIPT="/home/piandrej/Repositories/PyAssist/main.py"

# source /home/piandrej/Repositories/PyAssist/venv/bin/activate

/home/piandrej/Repositories/PyAssist/venv/bin/python $SCRIPT >> /home/piandrej/.pyassist/pyassist.log 2>&1
7 changes: 0 additions & 7 deletions startup.sh

This file was deleted.

2 changes: 1 addition & 1 deletion utils/settings/todoist_settings.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PROJECT_ID = "2337762329" # Define the project ID for the todoist integration
PROJECT_ID = "2300187020" # Define the project ID for the todoist integration

0 comments on commit 0171ebb

Please sign in to comment.