Skip to content

Commit

Permalink
Update README.md (#400)
Browse files Browse the repository at this point in the history
Small README improvement: a systemctl service can be enabled AND started using the --now flag
  • Loading branch information
AndreaTerenz authored Aug 27, 2024
1 parent e163a43 commit 578dd8f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -159,12 +159,9 @@ files, you can start onedriver as a systemd user service. In this example,
mkdir -p $MOUNTPOINT
export SERVICE_NAME=$(systemd-escape --template onedriver@.service --path $MOUNTPOINT)

# mount onedrive
# mount onedrive and set it to automatically mount on login
systemctl --user daemon-reload
systemctl --user start $SERVICE_NAME

# automatically mount onedrive when you login
systemctl --user enable $SERVICE_NAME
systemctl --user enable --now $SERVICE_NAME

# check onedriver's logs for the current day
journalctl --user -u $SERVICE_NAME --since today
Expand Down

0 comments on commit 578dd8f

Please sign in to comment.