-
Notifications
You must be signed in to change notification settings - Fork 18
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added journalctl command to view log messages
- Loading branch information
Showing
1 changed file
with
4 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -218,7 +218,7 @@ See [configuration template](conf/mailToTelegramForwarder.conf) | |
|
||
### Installing as systemd service | ||
``` | ||
sudo cp [email protected] /etc/systemd/system/ | ||
sudo cp systemd/[email protected] /etc/systemd/system/ | ||
sudo systemctl daemon-reload | ||
``` | ||
|
||
|
@@ -237,6 +237,9 @@ sudo systemctl status mail-to-telegram-forwarder@mailToTelegramForwarder | |
# enable service, to start default configuration on startup | ||
sudo systemctl enable mail-to-telegram-forwarder@mailToTelegramForwarder | ||
# check log messages | ||
sudo journalctl -u mail-to-telegram-forwarder@mailToTelegramForwarder | ||
``` | ||
|
||
## Update | ||
|