donau

Donation authority for GNU Taler (experimental)
Log | Files | Refs | Submodules | README | LICENSE

donau.donau-httpd.service (1027B)


      1 [Unit]
      2 Description=GNU Taler payment system donau REST API
      3 AssertPathExists=/run/donau/httpd
      4 Requires=donau-httpd.socket donau-secmod-cs.service donau-secmod-rsa.service donau-secmod-eddsa.service
      5 After=postgres.service network.target donau-secmod-cs.service donau-secmod-rsa.service donau-secmod-eddsa.service
      6 PartOf=donau.target
      7 
      8 [Service]
      9 User=donau-httpd
     10 Type=simple
     11 
     12 # Depending on the configuration, the service process kills itself and then
     13 # needs to be restarted. Thus no significant delay on restarts.
     14 Restart=always
     15 RestartSec=1ms
     16 
     17 # Disable the service if more than 5 restarts are encountered within 5s.
     18 # These are usually the systemd defaults, but can be overwritten, thus we set
     19 # them here explicitly, as the donau code assumes StartLimitInterval
     20 # to be >=5s.
     21 StartLimitBurst=5
     22 StartLimitInterval=5s
     23 
     24 ExecStart=/usr/bin/donau-httpd -c /etc/donau/donau.conf
     25 StandardOutput=journal
     26 StandardError=journal
     27 PrivateTmp=no
     28 PrivateDevices=yes
     29 ProtectSystem=full
     30 Slice=donau.slice
     31 
     32 [Install]
     33 WantedBy=multi-user.target