Line 4: |
Line 4: |
| * pass off project maitinance | | * pass off project maitinance |
| | | |
− | == working on sally == | + | == Working on Sally == |
| | | |
| All members have shell and admin access on sally. | | All members have shell and admin access on sally. |
Line 11: |
Line 11: |
| sudo uname -a | | sudo uname -a |
| | | |
− | == Create service environment == | + | == Create Your Service Environment == |
| | | |
− | === Create a system account for your service === | + | === Create a System Account for your Service === |
| | | |
| sudo useradd strup -b /srv/ -m -r | | sudo useradd strup -b /srv/ -m -r |
| | | |
− | == Working With SystemD == | + | == Working with SystemD == |
| | | |
| Create a unit file: | | Create a unit file: |
Line 37: |
Line 37: |
| </pre> | | </pre> |
| | | |
− | === start service, check for log output, etc === | + | === Start Your Service and Check for Log Output === |
| | | |
| sudo systemctl start strup.service | | sudo systemctl start strup.service |
Line 50: |
Line 50: |
| Initially, in my example, I see <quote>ircbot: /home/PS1/hef/projects/strup/irc/main.cpp:45: int main(int, char**): Assertion `file.is_open()' failed.</quote> because I havn't created a file yet. | | Initially, in my example, I see <quote>ircbot: /home/PS1/hef/projects/strup/irc/main.cpp:45: int main(int, char**): Assertion `file.is_open()' failed.</quote> because I havn't created a file yet. |
| | | |
− | === working with service files === | + | === Working with Service Files === |
| | | |
| If you tried to see your service user's home directory earlier, you may have noticed it didn't work. switch to your service accounts users. | | If you tried to see your service user's home directory earlier, you may have noticed it didn't work. switch to your service accounts users. |