Compare commits

...

4 Commits

5 changed files with 14 additions and 7 deletions

View File

@ -27,5 +27,6 @@ exec --no-startup-id flatpak run im.dino.Dino --gapplication-service
# Mattermost, I fear it's Electron.
#exec --no-startup-id flatpak run com.mattermost.Desktop
# Lith, WeeChat Relay client
exec --no-startup-id flatpak run app.lith.Lith
# Lith, WeeChat Relay client. Sleeping so keyring has time to start first,
# otherwise the NextCloud issue of starting too early on SSD happens
exec --no-startup-id sleep 15 && flatpak run app.lith.Lith

View File

@ -0,0 +1,4 @@
# From https://wiki.archlinux.org/title/Systemd/Journal#Journal_size_limit
# for very size-challenged systems
[Journal]
SystemMaxUse=50M

View File

@ -2,18 +2,19 @@
Description=Limnoria instance
After=network-online.target
# if sharing server with IRC server, add
#oragono.service
#Wants=oragono.service
#ergo.service
#Wants=ergo.service
[Service]
Type=simple
Environment=PATH=/home/BOTUSER/venv/bin:/home/BOTUSER/.local/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
Environment="TZ=Europe/Helsinki"
# if supybot.commands.allowShell is True and this is not set, may default to /
WorkingDirectory=/home/BOTUSER/
# supybot.pidFile
PIDFile=/home/BOTUSER/BOTNICKNAME/BOTNICKNAME.pid
# python3 setup.py install --user
ExecStart=/home/BOTUSER/.local/bin/supybot /home/BOTUSER/BOTNICKNAME/BOTNICKNAME.conf
# mkdir venv && python3 -m venv venv && . venv/bin/activate && python3 -m pip install git+https://github.com/ProgVal/Limnoria.git@testing
ExecStart=/home/BOTUSER/venv/bin/limnoria /home/BOTUSER/BOTNICKNAME/BOTNICKNAME.conf
ExecReload=/bin/kill -HUP $MAINPID
Restart=always
RestartSec=5s

View File

@ -3,7 +3,8 @@ Description=Syncplay server
After=network.target
[Service]
ExecStart=/opt/syncplay/syncplayServer.py --port 1234 --motd-file /opt/syncplay/motd.txt --salt autogenerated-by-running-without-this-flag-CHANGEME --password NotInThisConfigFileNotSorry --tls /opt/syncplay/ssl
Environment=PATH=/opt/syncplay/venv/bin:/usr/local/bin:/usr/bin:/bin:/usr/local/games:/usr/games
ExecStart=/opt/syncplay/venv/bin/python3 /opt/syncplay/syncplayServer.py --port 1234 --motd-file /opt/syncplay/motd.txt --salt autogenerated-by-running-without-this-flag-CHANGEME --password NotInThisConfigFileNotSorry --tls /opt/syncplay/ssl
Restart=always
User=syncplay