-
Clone the GitHub repository using:
git clone https://github.com/dekay7/notipier.git
-
Enter the
notipier
directory.cd notipier
-
Rename
example.env
to.env
.mv example.env .env
-
Edit
.env
and replacehttps://discord.com/api/webhooks//
with URL with your Discord Webhook URL.- To do this, you may use a text editor such as nano or Vim.
nano .env
or
vi .env
- Be sure to save the edits to the file when complete
- nano:
Ctrl+X, Y, Enter
- Vim:
:wq
- nano:
-
Install the requirements via pip (install packages globally).
pip install -r requirements.txt --break-system-packages
-
Edit
notipier.service
and replace/path/to/
with the path to the notipier.py file in the notipier directory.- To do this, you can use the
pwd
command to find your current directory, then use a text editor such as nano or Vim.
nano notipier.service
or
vi notipier.service
- Be sure to save the edits to the file when complete
- nano:
Ctrl+X, Y, Enter
- Vim:
:wq
- nano:
- To do this, you can use the
-
Create a hard link of the service file to
/etc/systemd/system
.sudo ln notipier.service /etc/systemd/system/notipier.service
-
Enable the service to launch at startup and start the service.
sudo systemctl enable notipier.service && sudo systemctl start notipier.service
-
Reboot your system and view your System Boot message!
-
Notifications
You must be signed in to change notification settings - Fork 0
dekay7/notipier
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
No description, website, or topics provided.
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published