diff --git a/roles/services/tasks/mastodon_spacestate.yaml b/roles/services/tasks/mastodon_spacestate.yaml index 72791b9..b9883dd 100644 --- a/roles/services/tasks/mastodon_spacestate.yaml +++ b/roles/services/tasks/mastodon_spacestate.yaml @@ -22,18 +22,6 @@ mode: 0655 notify: restart mastodon-spacestate -- name: Copy profile picture files - copy: - src: "files/{{ item }}" - dest: /var/lib/mastodon-spacestate/{{ item }} - owner: root - group: root - mode: 0655 - with_items: - - closed.png - - open.png - notify: restart mastodon-spacestate - - name: Install service file template: src: mastodon-spacestate.service diff --git a/roles/services/templates/mastodon-spacestate-config.py b/roles/services/templates/mastodon-spacestate-config.py index bf8ff3c..fe30c15 100644 --- a/roles/services/templates/mastodon-spacestate-config.py +++ b/roles/services/templates/mastodon-spacestate-config.py @@ -12,7 +12,3 @@ closed_profile_field = 'Closed @ {}' profile_fields = [('Website', 'https://bitlair.nl/')] access_token = '{{ mastodon_spacestate_access_token }}' homeserver = 'https://hsnl.social' - -update_profilepic_on_spacestate_change = True -spacestate_open_profilepic = './open.png' -spacestate_closed_profilepic = './closed.png' diff --git a/roles/services/templates/mastodon-spacestate.service b/roles/services/templates/mastodon-spacestate.service index 918c789..4e7e458 100644 --- a/roles/services/templates/mastodon-spacestate.service +++ b/roles/services/templates/mastodon-spacestate.service @@ -8,7 +8,6 @@ After=network.target Type=simple Restart=on-failure RestartSec=10s -WorkingDirectory=/var/lib/mastodon-spacestate ExecStart=/var/lib/mastodon-spacestate/mastodon-spacestate.py DynamicUser=true