Coder Social home page Coder Social logo

plenums_invite's Introduction

⚠️ Archived repository

This repository was moved to / Dieses Repository befindet sich nun unter:

🔗 https://git.kraut.space/Krautspace/plenums_invite

Einladung zum Plenum des Hackspace Jena e.V.

Das Repository enthält Dateien zum automatischen Versenden von Einladungsmails für das Plenum.

Das Shellskript ermittelt den kommenden Donnerstag, prüft, ob es ein erster Donnerstag des Monats ist, und bricht sonst ab, ersetzt im Einladungstext (Datei email_text) Platzhalter mit dem Datum des kommenden Donnerstag und verschickt den Text als E-Mail.

Die Service- und Timer-Dateien lassen systemd das Skript einmal wöchentlich ausführen.

Installation

Dieses Repository muss nach /opt in das Verzeichnis plenumsinvite kopiert werden:

mkdir -p /opt
cd /opt
git clone https://github.com/HackspaceJena/plenums_invite.git
cd /plenums_invite

Danach müssen die beiden systemd-Unit-Dateien nach /etc/systemd/system verlinkt werden:

systemctl link /opt/plenums_invite/plenums_invite.service 
systemctl link /opt/plenums_invite/plenums_invite.timer

Schließlich muss die timer-Unit aktiviert werden:

systemctl enable plenums_invite.timer

plenums_invite's People

Contributors

fiveop avatar lbehm avatar qbi avatar tlotze avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

lbehm

plenums_invite's Issues

systemd service lässt sich installieren

Ich habe versucht, den Service zu installieren. Dabei kam folgender Fehler:

~> systemctl link /opt/plenums_invite/plenums_invite.service 
Created symlink /etc/systemd/system/plenums_invite.service → /opt/plenums_invite/plenums_invite.service.
~> systemctl enable plenums_invite.service
The unit files have no installation config (WantedBy=, RequiredBy=, Also=,
Alias= settings in the [Install] section, and DefaultInstance= for template
units). This means they are not meant to be enabled using systemctl.
 
Possible reasons for having this kind of units are:
• A unit may be statically enabled by being symlinked from another unit's
  .wants/ or .requires/ directory.
• A unit's purpose may be to act as a helper for some other unit which has
  a requirement dependency on it.
• A unit may be started when needed via activation (socket, path, timer,
  D-Bus, udev, scripted systemctl call, ...).
• In case of template units, the unit is meant to be enabled with some
  instance name specified.

Kannst du mal schauen, was alles in die Unit muss und das ergänzen?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.