add service file
This commit is contained in:
parent
b5be668c22
commit
a723e0ba83
3
makefile
3
makefile
@ -8,3 +8,6 @@ uninstall:
|
|||||||
sudo rm /usr/local/bin/systemd-gotify
|
sudo rm /usr/local/bin/systemd-gotify
|
||||||
rm $${HOME}/.config/systemd-gotify/config
|
rm $${HOME}/.config/systemd-gotify/config
|
||||||
rm $${HOME}/.config/systemd-gotify/ -r
|
rm $${HOME}/.config/systemd-gotify/ -r
|
||||||
|
service-files:
|
||||||
|
mkdir -p $${HOME}/.config/systemd/user/
|
||||||
|
cp -i ./systemd-gotify.service $${HOME}/.config/systemd/user/systemd-gotify.service
|
||||||
|
@ -3,8 +3,8 @@ Description=Check for running systemd daemons and send notification to gotify
|
|||||||
User=ccppi
|
User=ccppi
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
WorkingDirectory=/home/ccppi/Programming/systemd-gotify/
|
Environment="GOTIFY_TOKEN=AnV26OM_KjPdvY9"
|
||||||
ExecStart=/home/ccppi/Programming/systemd-gotify/a.out config config
|
ExecStart=/usr/local/bin/systemd-gotify config -d
|
||||||
|
|
||||||
[Install]
|
[Install]
|
||||||
WantedBy=multi-user.target
|
WantedBy=multi-user.target
|
||||||
|
Loading…
Reference in New Issue
Block a user