Skip to content

Commit

Permalink
Add automatic service update bash script
Browse files Browse the repository at this point in the history
  • Loading branch information
heartcored98 committed Sep 22, 2018
1 parent 040cd39 commit 1dbf0f0
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions scripts/register_service.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/usr/bin/env bash

# copy service file into /lib/systemd/system/guin.service
sudo systemctl stop guin.service
sudo cp -f guin.service /lib/systemd/system/
sudo systemctl daemon-reload
sudo systemctl enable guin.service

sudo systemctl start guin.service
sudo systemctl status guin.service

0 comments on commit 1dbf0f0

Please sign in to comment.