Ignore:
Timestamp:
Feb 28, 2018, 12:34:42 PM (3 years ago)
Author:
mabarracus
Message:

Fix writing pid file

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lliurex-statistics/trunk/fuentes/lliurex-statistics.install/usr/sbin/analytics

    r6929 r6932  
    4646# FILELOCK = '/tmp/analytics'
    4747
    48 # PIDFILE = '/var/run/analitics.pid'
     48PIDFILE = '/var/run/analytics.pid'
     49FILELOCK = '/var/run/analytics.pid'
     50
    4951# PIDFILE = '/tmp/analitics.pid'
    5052
     
    229231    filelock = get_var_value('filelock', CONFIG)
    230232    if not filelock:
    231         filelock = '/var/run/analytics'
     233        filelock = '/var/run/analytics.pid'
    232234
    233235    try:
Note: See TracChangeset for help on using the changeset viewer.