taler-rust

GNU Taler code in Rust. Largely core banking integrations.
Log | Files | Refs | Submodules | README | LICENSE

taler-magnet-bank.taler-magnet-bank-worker.service (1130B)


      1 [Unit]
      2 Description=GNU Taler Magnet Bank adapter worker
      3 After=network.target postgres.service
      4 PartOf=taler-magnet-bank.target
      5 
      6 [Service]
      7 User=taler-magnet-bank-worker
      8 Type=simple
      9 
     10 # Depending on the configuration, the service process kills itself and then
     11 # needs to be restarted. Thus no significant delay on restarts.
     12 Restart=always
     13 RestartMode=direct
     14 RestartSec=1ms
     15 RestartPreventExitStatus=9
     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 exchange code assumes StartLimitInterval
     20 # to be >=5s.
     21 StartLimitBurst=5
     22 StartLimitInterval=5s
     23 
     24 ExecStart=/usr/bin/taler-magnet-bank worker -c /etc/taler-magnet-bank/taler-magnet-bank.conf
     25 
     26 StandardOutput=journal
     27 StandardError=journal
     28 
     29 PrivateTmp=yes
     30 ProtectSystem=full
     31 ProtectHome=yes
     32 ProtectClock=yes
     33 ProtectHostname=yes
     34 ProtectControlGroups=yes
     35 ProtectKernelLogs=yes
     36 ProtectKernelModules=yes
     37 ProtectKernelTunables=yes
     38 ProtectProc=invisible
     39 PrivateDevices=yes
     40 NoNewPrivileges=yes
     41 
     42 Slice=taler-magnet-bank.slice
     43 
     44 [Install]
     45 WantedBy=multi-user.target