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
|
||||
rm $${HOME}/.config/systemd-gotify/config
|
||||
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
|
||||
|
||||
[Service]
|
||||
WorkingDirectory=/home/ccppi/Programming/systemd-gotify/
|
||||
ExecStart=/home/ccppi/Programming/systemd-gotify/a.out config config
|
||||
Environment="GOTIFY_TOKEN=AnV26OM_KjPdvY9"
|
||||
ExecStart=/usr/local/bin/systemd-gotify config -d
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
|
Loading…
Reference in New Issue
Block a user