Skip to content

Commit

Permalink
Update service description
Browse files Browse the repository at this point in the history
  • Loading branch information
Tiryoh committed Mar 31, 2023
1 parent e588f87 commit a4e5a7b
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions etc/rtmouse.service
Original file line number Diff line number Diff line change
@@ -1,11 +1,17 @@
[Unit]
Description=rtmouse driver
After=network.target

[Service]
Type=oneshot
RemainAfterExit=yes
Restart=no
ExecStart=/etc/init.d/rtmouse.sh start
ExecReload=/etc/init.d/rtmouse.sh restart
ExecStopt=/etc/init.d/rtmouse.sh stop
StandardOutput=syslog
StandardError=syslog
SyslogIdentifier=rtmouse

[Install]
WantedBy=multi-user.target
4 changes: 2 additions & 2 deletions etc/rtmouse.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@
# Required-Stop:
# Default-Start: 2 3 4 5
# Default-Stop:
# Short-Description: RT_Mouse_Driver
# Description: RaspPiMouse Driver
# Short-Description: RasPiMouse_Driver
# Description: Rasoberry Pi Mouse Driver by RT Corporation
### END INIT INFO

SCRIPTNAME=rtmouse.sh
Expand Down

0 comments on commit a4e5a7b

Please sign in to comment.