Browse Source

Add Sentry DSN option to service files

Maarten van den Berg 6 years ago
parent
commit
410fa4321d
1 changed files with 2 additions and 0 deletions
  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