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 (672B)


      1 [Unit]
      2 PartOf=challenger.target
      3 StartLimitIntervalSec=0
      4 Description=Challenger backend
      5 After=postgresql.service network.target
      6 Requires=challenger-httpd.socket
      7 
      8 [Service]
      9 # DD102: retry transient failures without a start-rate limit.
     10 Restart=always
     11 RestartSec=10s
     12 User=challenger-httpd
     13 Type=simple
     14 RestartMode=direct
     15 # Only restart when for status 9=EXIT_NO_RESTART
     16 # In other cases (can't connect to database, ...) we restart
     17 RestartPreventExitStatus=6 9
     18 
     19 
     20 ExecStart=/usr/bin/challenger-httpd -c /etc/challenger/challenger.conf -L INFO
     21 StandardOutput=journal
     22 StandardError=journal
     23 PrivateTmp=yes
     24 PrivateDevices=yes
     25 ProtectSystem=full
     26 
     27 [Install]
     28 WantedBy=multi-user.target