stash
This commit is contained in:
parent
7d1d8529fd
commit
98a944902f
|
@ -259,10 +259,10 @@ Your c3lf (Cloakroom + Lost&Found) Team'''.format(active_issue_thread.short_uuid
|
|||
eventslug = target_event.slug if target_event else "37C3" # TODO 37C3 should not be hardcoded
|
||||
if new:
|
||||
notification = f"""New issue \"{active_issue_thread.name}\" [{active_issue_thread.short_uuid()}] created
|
||||
see https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.id}/"""
|
||||
https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.id}/"""
|
||||
else:
|
||||
notification = f"""Reply to issue \"{active_issue_thread.name}\" [{active_issue_thread.short_uuid()}]
|
||||
see https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.id}/"""
|
||||
https://{PRIMARY_HOST}/{eventslug}/ticket/{active_issue_thread.id}/"""
|
||||
|
||||
return email, new, reply, notification
|
||||
|
||||
|
|
|
@ -11,6 +11,8 @@ Restart=always
|
|||
RestartSec=5
|
||||
User=www-data
|
||||
Group=www-data
|
||||
StandardOutput=append:/var/www/c3lf-sys3/service.info.log
|
||||
StandardError=append:/var/www/c3lf-sys3/service.error.log
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
Loading…
Reference in a new issue