Skip to content

Commit 33c1c62

Browse files
committed
nes_buttons: remove references to 'nes' user.
I stopped using the nes user in this configuration, but there were a couple left-over places that referenced it.
1 parent 5b2cc83 commit 33c1c62

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

buttons/init/nes_buttons

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,8 +27,6 @@ RETVAL=0
2727

2828
NES_BUTTONS_OPTS="-p $pidfile -l $logfile"
2929

30-
RUNASUSER=nes
31-
3230
case "$1" in
3331
start)
3432
log_daemon_msg "Starting $prog: "

buttons/nes_buttons_daemon.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
#!/usr/bin/env python2.7
22

3+
import sys
34
import traceback
45
import argparse
56
import signal
@@ -24,7 +25,7 @@ def start_daemon( pidf, logf ):
2425
try:
2526
with daemon.DaemonContext(
2627
working_directory='/var/lib/nes_buttons',
27-
gid = grp.getgrnam( 'nes' ).gr_gid,
28+
gid = grp.getgrnam( 'pi' ).gr_gid,
2829
umask=0o002,
2930
pidfile=pidfile.TimeoutPIDLockFile( pidf ),
3031
) as context:

0 commit comments

Comments
 (0)