diff --git a/Infos Haruna.page b/Infos Haruna.page index 9d0a92a..204cb95 100644 --- a/Infos Haruna.page +++ b/Infos Haruna.page @@ -11,6 +11,23 @@ $ mayan-edms.py runserver&disown ## Détacher screen/tmux… ~~~ +### Unité systemd + +~~~ +[Unit] +Description=GED Mayan EDMS. +After=network.target + +[Service] +User=ged +WorkingDirectory=/home/ged +ExecStart=/home/ged/venv/bin/mayan-edms.py runserver +Type=simple + +[Install] +WantedBy=default.target +~~~ + ## Wiki GitIT ### Démarrer le service @@ -20,4 +37,21 @@ Dans un tmux ou screen. # sudo -iu wiki $ gitit -f my.Conf ## Détacher le screen/tmux… +~~~ + +### Unité systemd + +~~~ +[Unit] +Description=gitit wiki. +After=network.target + +[Service] +User=wiki +WorkingDirectory=/home/wiki +ExecStart=/home/wiki/.cabal/bin/gitit -f /home/wiki/my.conf +Type=simple + +[Install] +WantedBy=default.target ~~~ \ No newline at end of file