Jump to content

tamet83

Members
  • Posts

    4
  • Joined

  • Last visited

Report Comments posted by tamet83

  1. 1 minute ago, trurl said:

    /lib is in RAM like the rest of the OS so changes there won't survive reboot. 

     

    Reapplying those changes at each boot in the go file might be too late in the boot, I don't know. 

     

    On my Proxmox server the configuration is permanent. Non need to reapply each time.

    I just checked, as you can see below:

     

    [Unit]
    # network-online is really needed, otherwise there are problems with snmp
    # -> 865620
    After=network-online.target
    Description=UPS power management daemon
    Documentation=man:apcupsd(8)
    
    [Service]
    RestartSec=30
    ExecStartPre=/lib/apcupsd/prestart
    ExecStart=/sbin/apcupsd
    Type=forking
    KillMode=process
    PIDFile=/var/run/apcupsd.pid
    
    [Install]
    WantedBy=multi-user.target

     

×
×
  • Create New...