Skip to content

Commit

Permalink
fix: signal state uses idempotent state
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-grande committed Jan 2, 2024
1 parent fa22308 commit eca10ad
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions salt/signal/configure.sls
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,13 @@ SPDX-License-Identifier: AGPL-3.0-or-later
include:
- dotfiles.copy-x11

"{{ slsdotpath }}-create-autostart-dir":
cmd.run:
- name: mkdir -p ~/.config/autostart
- runas: user

"{{ slsdotpath }}-desktop-autostart":
cmd.run:
- name: ln -sf /usr/share/applications/signal-desktop.desktop ~/.config/autostart/
- runas: user
file.symlink:
- name: /home/user/.config/autostart/signal-desktop.desktop
- target: /usr/share/applications/signal-desktop.desktop
- user: user
- group: user
- force: True
- makedirs: True

{% endif -%}

0 comments on commit eca10ad

Please sign in to comment.