github.com/craicoverflow/tyk@v2.9.6-rc3+incompatible/install/inits/systemd/system/tyk-gateway.service (about) 1 [Unit] 2 Description=Tyk API Gateway 3 4 [Service] 5 Type=simple 6 User=root 7 Group=root 8 # Load env vars from /etc/default/ and /etc/sysconfig/ if they exist. 9 # Prefixing the path with '-' makes it try to load, but if the file doesn't 10 # exist, it continues onward. 11 EnvironmentFile=-/etc/default/tyk-gateway 12 EnvironmentFile=-/etc/sysconfig/tyk-gateway 13 ExecStart=/opt/tyk-gateway/tyk --conf /opt/tyk-gateway/tyk.conf 14 Restart=always 15 WorkingDirectory=/opt/tyk-gateway 16 RuntimeDirectory=tyk 17 RuntimeDirectoryMode=0770 18 19 [Install] 20 WantedBy=multi-user.target