challenger

OAuth 2.0-based authentication service that validates user can receive messages at a certain address
Log | Files | Refs | Submodules | README | LICENSE

challenger-httpd.service (855B)


      1 [Unit]
      2 Description=Challenger backend
      3 After=postgresql.service network.target
      4 Requires=challenger-httpd.socket
      5 
      6 [Service]
      7 User=challenger-httpd
      8 Type=simple
      9 Restart=always
     10 RestartMode=direct
     11 RestartSec=1s
     12 # Only restart when for status 9=EXIT_NO_RESTART
     13 # In other cases (can't connect to database, ...) we restart
     14 RestartPreventExitStatus=9
     15 
     16 # Disable the service if more than 5 restarts are encountered within 5s.
     17 # These are usually the systemd defaults, but can be overwritten, thus we set
     18 # them here explicitly, as the exchange code assumes StartLimitInterval
     19 # to be >=5s.
     20 StartLimitBurst=5
     21 StartLimitInterval=5s
     22 
     23 RuntimeMaxSec=3600s
     24 ExecStart=/usr/bin/challenger-httpd -c /etc/challenger/challenger.conf -L INFO
     25 StandardOutput=journal
     26 StandardError=journal
     27 PrivateTmp=yes
     28 PrivateDevices=yes
     29 ProtectSystem=full
     30 
     31 [Install]
     32 WantedBy=multi-user.target