浏览代码

Add Sentry DSN option to service files

Maarten van den Berg 6 年之前
父节点
当前提交
410fa4321d
共有 1 个文件被更改,包括 2 次插入0 次删除
  1. 2 0
      bin/install-service-files.py

+ 2 - 0
bin/install-service-files.py

15
 KillSignal=SIGINT
15
 KillSignal=SIGINT
16
 Type=notify
16
 Type=notify
17
 NotifyAccess=all
17
 NotifyAccess=all
18
+Environment=SENTRY_DSN={os.environ.get("SENTRY_DSN")}
18
 
19
 
19
 [Install]
20
 [Install]
20
 WantedBy=default.target
21
 WantedBy=default.target
27
 
28
 
28
 [Service]
29
 [Service]
29
 ExecStart={piket_client_path}
30
 ExecStart={piket_client_path}
31
+Environment=SENTRY_DSN={os.environ.get("SENTRY_DSN")}
30
 
32
 
31
 [Install]
33
 [Install]
32
 WantedBy=graphical.target
34
 WantedBy=graphical.target