diff --git a/systemd/hauptbahnhof-module@.service b/systemd/hauptbahnhof-module@.service new file mode 100644 index 0000000000000000000000000000000000000000..282a6b1df61c167d02aaeb0c2908b834b819b413 --- /dev/null +++ b/systemd/hauptbahnhof-module@.service @@ -0,0 +1,14 @@ +[Unit] +Description=Hauptbahnhof %i-Module +After=network.target +Before=hauptbahnhof.service + +[Service] +Type=simple +User=johannes +WorkingDirectory=/usr/local/bin/hauptbahnhof +ExecStart=/usr/local/bin/hauptbahnhof/venv/bin/python3 -m %i + + +[Install] +WantedBy=multi-user.target diff --git a/systemd/hauptbahnhof.target b/systemd/hauptbahnhof.target new file mode 100644 index 0000000000000000000000000000000000000000..44225145bdfee9c2e87a300f5264781f09ec376a --- /dev/null +++ b/systemd/hauptbahnhof.target @@ -0,0 +1,5 @@ +[Unit] +Description=Hauptbahnhof Hackerspace Control System + +[Install] +WantedBy=multi-user.target \ No newline at end of file diff --git a/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@babel.service b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@babel.service new file mode 120000 index 0000000000000000000000000000000000000000..4761512ccdf7dc0c56da1fbf776b24208f63af2d --- /dev/null +++ b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@babel.service @@ -0,0 +1 @@ +../hauptbahnhof-module@.service \ No newline at end of file diff --git a/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@hackerman.service b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@hackerman.service new file mode 120000 index 0000000000000000000000000000000000000000..4761512ccdf7dc0c56da1fbf776b24208f63af2d --- /dev/null +++ b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@hackerman.service @@ -0,0 +1 @@ +../hauptbahnhof-module@.service \ No newline at end of file diff --git a/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@mpd.service b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@mpd.service new file mode 120000 index 0000000000000000000000000000000000000000..4761512ccdf7dc0c56da1fbf776b24208f63af2d --- /dev/null +++ b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@mpd.service @@ -0,0 +1 @@ +../hauptbahnhof-module@.service \ No newline at end of file diff --git a/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@nsa.service b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@nsa.service new file mode 120000 index 0000000000000000000000000000000000000000..4761512ccdf7dc0c56da1fbf776b24208f63af2d --- /dev/null +++ b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@nsa.service @@ -0,0 +1 @@ +../hauptbahnhof-module@.service \ No newline at end of file diff --git a/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@rupprecht.service b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@rupprecht.service new file mode 120000 index 0000000000000000000000000000000000000000..4761512ccdf7dc0c56da1fbf776b24208f63af2d --- /dev/null +++ b/systemd/hauptbahnhof.target.wants/hauptbahnhof-module@rupprecht.service @@ -0,0 +1 @@ +../hauptbahnhof-module@.service \ No newline at end of file