Meidokon Wiki
  • Comments
  • Immutable Page
  • Menu
    • Navigation
    • RecentChanges
    • FindPage
    • Local Site Map
    • Help
    • HelpContents
    • HelpOnMoinWikiSyntax
    • Display
    • Attachments
    • Info
    • Raw Text
    • Print View
    • Edit
    • Load
    • Save
  • Login

Useful(?) links

  • furinkan's stuff

  • Postfix snippets


  • SystemInfo

  • This sidebar

Navigation

  • FrontPage
  • RecentChanges
  • FindPage
  • HelpContents
Revision 2 as of 2019-11-15 16:16:15
MeidokonWiki:
  • servers
  • shimakaze
  • Running at Linode
  • General purpose shell box
  • Debian jessie x64 (8.8)
  • 96gb disk volume - expensive!
  • 4gb RAM

Contents

  1. users
  2. services
  3. websites
  4. systemd notes

users

  • qqc
  • moin
  • astcd2
  • zalas
  • furinkan
  • moelicious
  • shortgirls
  • mathrick

services

  • moin wiki
  • IRC in screen
  • mysql - wordpress stuff
  • postgres - not used I think
  • nginx

websites

  • 765.agency (now on arkroyal)
  • tallgirls.info
  • shortgirls.net
  • caress.airtv.org
  • chant.mikumiku.org
  • meidokon.net
    • lot of subdomains
  • is.moelicious.be
  • pettanko.dk (dead domain?)
  • sei.meidokon.net (mathrick's)

systemd notes

I tried to do some nice things here so that each user can manage their own daemons, but it ended up being more of a problem than a help. I mean it works, but I don't know why it doesn't reliably autostart and whatnot. Good idea though.

It's also viable to run a screen session via systemd, as a user-owned unit.

root@shimakaze:/home/furinkan/.config/systemd/user# cat screen-session-irssi.service 

[Unit]
Description=Run a screen session for irssi

[Service]
Type=simple
ExecStart=/usr/bin/screen -DmUS irssi /usr/bin/irssi
Restart=on-failure
RestartSec=5

[Install]
WantedBy=multi-user.target

A directory structure like this will do it:

root@shimakaze:/home/furinkan/.config/systemd/user# ls -lh
total 8.0K
lrwxrwxrwx 1 furinkan furinkan   23 Jun 24  2015 default.target.wants -> multi-user.target.wants
drwxr-xr-x 2 furinkan furinkan 4.0K Nov  2  2018 multi-user.target.wants
-rw-r--r-- 1 furinkan furinkan  196 Jun 24  2015 screen-session-irssi.service

One more part of the trick is that you need to set a flag somewhere, or create a file, that tells systemd to run an instance per user. I forget where that is though.

  • MoinMoin Powered
  • Python Powered
  • GPL licensed
  • Valid HTML 4.01
MoinMoin Release 1.9.11 [Revision release], Copyright by Juergen Hermann et al.