github.com/craicoverflow/tyk@v2.9.6-rc3+incompatible/install/inits/systemd/system/tyk-gateway-python.service (about)

     1  [Unit]
     2  Description=Tyk API Gateway (Python Support)
     3  # This is provided for backward compatibility only
     4  # tyk-gateway supports Python starting from 2.9
     5  
     6  [Service]
     7  Type=simple
     8  User=root
     9  Group=root
    10  # Load env vars from /etc/default/ and /etc/sysconfig/ if they exist.
    11  # Prefixing the path with '-' makes it try to load, but if the file doesn't
    12  # exist, it continues onward.
    13  EnvironmentFile=-/etc/default/tyk-gateway
    14  EnvironmentFile=-/etc/sysconfig/tyk-gateway
    15  ExecStart=/opt/tyk-gateway/tyk --conf /opt/tyk-gateway/tyk.conf
    16  Restart=always
    17  WorkingDirectory=/opt/tyk-gateway
    18  RuntimeDirectory=tyk
    19  RuntimeDirectoryMode=0770
    20  
    21  [Install]
    22  WantedBy=multi-user.target