mkdocs-benoit.jp.net/Infos Haruna.page

87 lines
1.1 KiB
Text
Raw Normal View History

2016-02-21 19:47:09 +00:00
# Services
2016-07-27 08:56:36 +00:00
## Tiny Tiny RSS
### Démarrer le service
Dans un tmux ou screen?
~~~
# sudo -iu rss
$ cd www
$ php update_daemon2.php
~~~
### Unité systemd
~~~
[Unit]
Description=Tiny Tiny RSS.
After=network.target
[Service]
User=rss
WorkingDirectory=/home/rss/www
ExecStart=/usr/bin/php /home/rss/www/update_daemon2.php
Type=simple
[Install]
WantedBy=default.target
~~~
2016-02-21 19:47:09 +00:00
## GED Mayan EDMS
### Démarrer le service
Dans un tmux ou screen.
~~~
2016-03-01 08:35:15 +00:00
# sudo -iu ged
2016-02-21 19:47:09 +00:00
$ source venv/bin/activate
$ mayan-edms.py runserver&disown
## Détacher screen/tmux…
2016-03-01 08:35:15 +00:00
~~~
2016-07-23 17:43:04 +00:00
### 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
~~~
2016-03-01 08:35:15 +00:00
## Wiki GitIT
### Démarrer le service
Dans un tmux ou screen.
~~~
# sudo -iu wiki
$ gitit -f my.Conf
## Détacher le screen/tmux…
2016-07-23 17:43:04 +00:00
~~~
### 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
2016-02-21 19:47:09 +00:00
~~~